pytest_hal_utils.py 350 B

12345678910111213
  1. # SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
  2. # SPDX-License-Identifier: Apache-2.0
  3. import pytest
  4. from pytest_embedded import Dut
  5. @pytest.mark.linux
  6. @pytest.mark.host_test
  7. def test_hal_utils(dut: Dut) -> None:
  8. dut.expect_exact('Press ENTER to see the list of tests.')
  9. dut.write('*')
  10. dut.expect_unity_test_output()