mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
14 lines
502 B
Python
14 lines
502 B
Python
# SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
import pytest
|
|
from pytest_embedded_idf.dut import IdfDut
|
|
from pytest_embedded_idf.utils import idf_parametrize
|
|
|
|
|
|
@pytest.mark.host_test
|
|
@idf_parametrize('target', ['linux'], indirect=['target'])
|
|
def test_linux_component(dut: IdfDut) -> None:
|
|
dut.expect_exact('Press ENTER to see the list of tests.')
|
|
dut.write('![ignore]')
|
|
dut.expect(r'\d{1} Tests 0 Failures 0 Ignored', timeout=10)
|