mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-11-02 15:41:38 +01:00
feat(sockutls): Add initial support for socket helpers
This commit is contained in:
13
components/sock_utils/examples/simple/pytest_sockutls.py
Normal file
13
components/sock_utils/examples/simple/pytest_sockutls.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||
|
||||
def test_sockutls(dut):
|
||||
"""
|
||||
steps:
|
||||
1. Start the example
|
||||
2. Check the resultant IPv4 address from station netif
|
||||
"""
|
||||
# Signal from the pipe simple implementation
|
||||
dut.expect('Received signal: IP4')
|
||||
# and the IPv4 address of the connected netif
|
||||
dut.expect('IPv4 address of interface "en1"')
|
||||
Reference in New Issue
Block a user