pytest_sdm_example.py 484 B

12345678910111213141516
  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.generic
  10. def test_sdm_example(dut: Dut) -> None:
  11. dut.expect_exact('example: Install sigma delta channel')
  12. dut.expect_exact('example: Enable sigma delta channel')
  13. dut.expect_exact('example: Change duty cycle continuously')