2025-02-24 10:18:03 +08:00
|
|
|
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
|
2022-03-03 16:05:28 +08:00
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
import pytest
|
|
|
|
|
from pytest_embedded_idf.dut import IdfDut
|
2025-02-24 10:18:03 +08:00
|
|
|
from pytest_embedded_idf.utils import idf_parametrize
|
2022-03-03 16:05:28 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.generic
|
2025-02-24 10:18:03 +08:00
|
|
|
@idf_parametrize(
|
|
|
|
|
'target', ['esp32', 'esp32c2', 'esp32c3', 'esp32c6', 'esp32s2', 'esp32s3', 'esp32c5'], indirect=['target']
|
|
|
|
|
)
|
2022-03-11 18:34:44 +08:00
|
|
|
def test_i2c_wifi_startup(dut: IdfDut) -> None:
|
2022-03-03 16:05:28 +08:00
|
|
|
dut.expect_exact('I2C-WIFI test success')
|