| 1234567891011121314151617181920212223242526272829 |
- # SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
- # SPDX-License-Identifier: Unlicense OR CC0-1.0
- import pytest
- from pytest_embedded import Dut
- @pytest.mark.supported_targets
- @pytest.mark.temp_skip_ci(targets=['esp32c2'], reason='esp32c2 are using xtal_26mhz')
- @pytest.mark.generic
- def test_wifi_unit_test(dut: Dut) -> None:
- dut.expect_exact('Press ENTER to see the list of tests')
- dut.write('*')
- dut.expect_unity_test_output()
- @pytest.mark.esp32c2
- @pytest.mark.xtal_26mhz
- @pytest.mark.parametrize(
- 'config, baud',
- [
- ('esp32c2_xtal26m', '74880'),
- ],
- indirect=True,
- )
- def test_wifi_connect_cases_esp32c2_xtal26m(dut: Dut) -> None:
- dut.expect_exact('Press ENTER to see the list of tests')
- dut.write('*')
- dut.expect_unity_test_output()
|