pytest_gptimer.py 446 B

1234567891011121314151617
  1. # SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
  2. # SPDX-License-Identifier: CC0-1.0
  3. import pytest
  4. from pytest_embedded import Dut
  5. @pytest.mark.supported_targets
  6. @pytest.mark.generic
  7. @pytest.mark.parametrize('config', [
  8. 'iram_safe',
  9. 'release',
  10. ], indirect=True)
  11. def test_gptimer(dut: Dut) -> None:
  12. dut.expect_exact('Press ENTER to see the list of tests')
  13. dut.write('*')
  14. dut.expect_unity_test_output()