mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-21 08:49:25 +00:00
refactor(examples/storage): move all the nvs examples to 'examples/storeage/nvs' directory
This commit is contained in:
12
examples/storage/nvs/nvsgen/pytest_nvsgen_example.py
Normal file
12
examples/storage/nvs/nvsgen/pytest_nvsgen_example.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# SPDX-FileCopyrightText: 2023-2025 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.generic
|
||||
@idf_parametrize('target', ['esp32'], indirect=['target'])
|
||||
def test_nvsgen_example(dut: Dut) -> None:
|
||||
dut.expect('Reading values from NVS', timeout=10)
|
||||
dut.expect('Reading values from NVS done - all OK', timeout=10)
|
Reference in New Issue
Block a user