pytest_sdm_example.py 505 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.esp32
  6. @pytest.mark.esp32s2
  7. @pytest.mark.esp32s3
  8. @pytest.mark.esp32c3
  9. @pytest.mark.esp32c6
  10. @pytest.mark.generic
  11. def test_sdm_example(dut: Dut) -> None:
  12. dut.expect_exact('example: Install sigma delta channel')
  13. dut.expect_exact('example: Enable sigma delta channel')
  14. dut.expect_exact('example: Change duty cycle continuously')