mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Update pytest example for https_request to erase flash before start of test
This commit is contained in:
parent
eb47729301
commit
c351548ca5
@ -61,6 +61,7 @@ def start_https_server(server_file: str, key_file: str, server_ip: str, server_p
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.ethernet
|
||||
@pytest.mark.parametrize('config', ['cli_ses_tkt',], indirect=True)
|
||||
@pytest.mark.parametrize('erase_nvs', ['y'], indirect=True)
|
||||
def test_examples_protocol_https_request_cli_session_tickets(dut: Dut) -> None:
|
||||
logging.info("Testing for \"esp_tls client session tickets\"")
|
||||
|
||||
@ -123,6 +124,7 @@ def test_examples_protocol_https_request_cli_session_tickets(dut: Dut) -> None:
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.ethernet
|
||||
@pytest.mark.parametrize('config', ['ssldyn',], indirect=True)
|
||||
@pytest.mark.parametrize('erase_nvs', ['y'], indirect=True)
|
||||
def test_examples_protocol_https_request_dynamic_buffers(dut: Dut) -> None:
|
||||
# Check for connection using crt bundle with mbedtls dynamic resource enabled
|
||||
# check and log bin size
|
||||
@ -153,6 +155,7 @@ def test_examples_protocol_https_request_dynamic_buffers(dut: Dut) -> None:
|
||||
|
||||
@pytest.mark.supported_targets
|
||||
@pytest.mark.ethernet
|
||||
@pytest.mark.parametrize('erase_nvs', ['y'], indirect=True)
|
||||
def test_examples_protocol_https_request(dut: Dut) -> None:
|
||||
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user