From 2359c4056c38bfb10569ec03da895c8e6e9dfbd2 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Tue, 2 Nov 2021 18:39:03 +0000 Subject: Tests: added pyOpenSSL module check were necessary. --- test/test_tls_session.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/test_tls_session.py') diff --git a/test/test_tls_session.py b/test/test_tls_session.py index 0c5f0248..f173913b 100644 --- a/test/test_tls_session.py +++ b/test/test_tls_session.py @@ -2,6 +2,8 @@ import socket import time import pytest + +pytest.importorskip('OpenSSL.SSL') from OpenSSL.SSL import ( TLSv1_2_METHOD, SESS_CACHE_CLIENT, -- cgit