pytest_i2c_lcd.py 452 B

1234567891011121314151617181920
  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(
  8. 'config',
  9. [
  10. 'release',
  11. ],
  12. indirect=True,
  13. )
  14. def test_i2c_lcd(dut: Dut) -> None:
  15. dut.expect_exact('Press ENTER to see the list of tests')
  16. dut.write('*')
  17. dut.expect_unity_test_output()