pytest_fatfs_flash_ro.py 427 B

123456789101112131415
  1. # SPDX-FileCopyrightText: 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. def test_fatfs_flash_ro(dut: Dut) -> None:
  8. dut.expect_exact('Press ENTER to see the list of tests')
  9. dut.write('')
  10. dut.expect_exact('Enter test for running.')
  11. dut.write('*')
  12. dut.expect_unity_test_output()