Files
esp-idf/components/esp_partition/test_apps/pytest_esp_partition.py
sonika.rathi 9234e36de5 fix(esp_partition): migrate classic tests to test_apps, drop legacy test/
remove unused components/esp_partition/test sources that were
only built by the retired unit-test-app path.
2026-09-14 17:18:26 +02:00

14 lines
508 B
Python

# SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: CC0-1.0
import pytest
from pytest_embedded import Dut
from pytest_embedded_idf.utils import idf_parametrize
@pytest.mark.generic
@pytest.mark.flaky(reruns=2, reruns_delay=5)
@idf_parametrize('target', ['esp32', 'esp32c3'], indirect=['target'])
def test_esp_partition(dut: Dut) -> None:
# Erase + whole-flash get_sha256 can exceed the default Unity expect window
dut.expect_unity_test_output(timeout=120)