diff options
-rw-r--r-- | test/test_tls_session.py | 2 | ||||
-rw-r--r-- | test/test_tls_tickets.py | 2 |
2 files changed, 4 insertions, 0 deletions
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, diff --git a/test/test_tls_tickets.py b/test/test_tls_tickets.py index 7214f77f..6899eaa1 100644 --- a/test/test_tls_tickets.py +++ b/test/test_tls_tickets.py @@ -1,6 +1,8 @@ import socket import pytest + +pytest.importorskip('OpenSSL.SSL') from OpenSSL.SSL import ( TLSv1_2_METHOD, Context, |