From 43987d4e73a403fedd1150e08283f11ad0059011 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Mon, 20 Mar 2023 15:03:44 +0000 Subject: pytests: test_tls_05_proto_1_3: Don't rely on TlsTestEnv.curl_supports_tls_1_3() (always False). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908575 13f79535-47bb-0310-9956-ffa450edef68 --- test/modules/tls/test_05_proto.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/modules/tls/test_05_proto.py b/test/modules/tls/test_05_proto.py index 447d052b42..c5eea7d956 100644 --- a/test/modules/tls/test_05_proto.py +++ b/test/modules/tls/test_05_proto.py @@ -33,13 +33,10 @@ class TestProto: def test_tls_05_proto_1_2(self, env): r = env.tls_get(env.domain_b, "/index.json", options=["--tlsv1.2"]) assert r.exit_code == 0, r.stderr - if TlsTestEnv.curl_supports_tls_1_3(): - r = env.tls_get(env.domain_b, "/index.json", options=["--tlsv1.3"]) - assert r.exit_code == 0, r.stderr def test_tls_05_proto_1_3(self, env): r = env.tls_get(env.domain_a, "/index.json", options=["--tlsv1.3"]) - if TlsTestEnv.curl_supports_tls_1_3(): + if True: # testing TlsTestEnv.curl_supports_tls_1_3() is unreliable (curl should support TLS1.3 nowadays..) assert r.exit_code == 0, r.stderr else: assert r.exit_code == 4, r.stderr -- cgit v1.2.3