From 2b16394fcc0cf34125fe9302218b76e5759d6b44 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Mon, 16 Dec 2019 16:20:29 +0100 Subject: [PATCH] FIX new tls suite --- tests/test_authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_authentication.py b/tests/test_authentication.py index 37fc91e..1fbf834 100644 --- a/tests/test_authentication.py +++ b/tests/test_authentication.py @@ -58,7 +58,7 @@ def test_https_support(): from http.client import HTTPSConnection import ssl - context = ssl.SSLContext(ssl.PROTOCOL_TLSv1) # @UndefinedVariable + context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2) # @UndefinedVariable context.verify_mode = ssl.CERT_REQUIRED if hasattr(context, "check_hostname"): context.check_hostname = True -- GitLab