test: format all test scripts

This commit is contained in:
Evgeny Torbin
2026-03-11 07:34:34 +01:00
parent 349306217b
commit f7395255da
366 changed files with 5737 additions and 3913 deletions
@@ -1,17 +1,18 @@
# SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
# SPDX-FileCopyrightText: 2023-2026 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Unlicense OR CC0-1.0
import pytest
from pytest_embedded import Dut
from pytest_embedded_idf.utils import idf_parametrize
@pytest.mark.esp32
@pytest.mark.generic
@idf_parametrize('target', ['esp32'], indirect=['target'])
def test_examples_fatfs_getting_started(dut: Dut) -> None:
dut.expect('example: Mounting FAT filesystem', timeout=90)
dut.expect('example: Filesystem mounted', timeout=90)
dut.expect('example: Opening file', timeout=90)
dut.expect('example: File written', timeout=90)
dut.expect('example: Reading file', timeout=90)
dut.expect('example: Read from file: \'Hello World!\'', timeout=90)
dut.expect("example: Read from file: 'Hello World!'", timeout=90)
dut.expect('example: Unmounting FAT filesystem', timeout=90)
dut.expect('example: Done', timeout=90)