From 097149d88d0bd4c1cd9df73bbfc284e95d04131c Mon Sep 17 00:00:00 2001 From: Harshit Malpani Date: Fri, 1 Oct 2021 18:47:38 +0530 Subject: [PATCH] Update example test for esp_http_client --- examples/protocols/esp_http_client/esp_http_client_test.py | 1 + .../protocols/esp_http_client/main/howsmyssl_com_root_cert.pem | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/protocols/esp_http_client/esp_http_client_test.py b/examples/protocols/esp_http_client/esp_http_client_test.py index c0700f567e..652baae5db 100644 --- a/examples/protocols/esp_http_client/esp_http_client_test.py +++ b/examples/protocols/esp_http_client/esp_http_client_test.py @@ -32,6 +32,7 @@ def test_examples_protocol_esp_http_client(env, extra_data): dut1.expect(re.compile(r"HTTP Relative path redirect Status = 200, content_length = (\d)")) dut1.expect(re.compile(r"HTTP Absolute path redirect Status = 200, content_length = (\d)")) dut1.expect(re.compile(r"HTTPS Status = 200, content_length = (\d)")) + dut1.expect(re.compile(r"HTTPS Status = 200, content_length = (\d)")) dut1.expect(re.compile(r"HTTP redirect to HTTPS Status = 200, content_length = (\d)"), timeout=10) dut1.expect(re.compile(r"HTTP chunk encoding Status = 200, content_length = (\d)")) dut1.expect(re.compile(r"HTTP Stream reader Status = 200, content_length = (\d)")) diff --git a/examples/protocols/esp_http_client/main/howsmyssl_com_root_cert.pem b/examples/protocols/esp_http_client/main/howsmyssl_com_root_cert.pem index c7c077f91e..b85c8037f6 100644 --- a/examples/protocols/esp_http_client/main/howsmyssl_com_root_cert.pem +++ b/examples/protocols/esp_http_client/main/howsmyssl_com_root_cert.pem @@ -1,4 +1,4 @@ -----BEGIN CERTIFICATE----- +-----BEGIN CERTIFICATE----- MIIFazCCA1OgAwIBAgIRAIIQz7DSQONZRGPgu2OCiwAwDQYJKoZIhvcNAQELBQAw TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMTUwNjA0MTEwNDM4