esp-idf/examples/protocols/sockets/non_blocking/pytet_socket_non_blocking.py
2022-12-15 14:55:42 +08:00

12 lines
358 B
Python

# SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Apache-2.0
import pytest
from pytest_embedded import Dut
@pytest.mark.supported_targets
@pytest.mark.generic
def test_examples_non_block_socket_localhost(dut: Dut) -> None:
dut.expect(r'nonblocking-socket-client: Received: GET / HTTP/1.1', timeout=30)