pytest_efuse.py 427 B

12345678910111213141516
  1. # SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
  2. # SPDX-License-Identifier: Unlicense OR CC0-1.0
  3. import pytest
  4. from pytest_embedded import Dut
  5. @pytest.mark.esp32
  6. @pytest.mark.esp32c2
  7. @pytest.mark.esp32c3
  8. @pytest.mark.esp32c6
  9. @pytest.mark.generic
  10. def test_efuse(dut: Dut) -> None:
  11. dut.expect_exact('Press ENTER to see the list of tests')
  12. dut.write('*')
  13. dut.expect_unity_test_output(timeout=200)