commit | 4d57590bc7fc93430a1fdacc31bc0cbd9778f678 | [log] [tgz] |
---|---|---|
author | Paul Kehrer <paul.l.kehrer@gmail.com> | Tue Feb 26 21:42:12 2019 +0800 |
committer | Alex Gaynor <alex.gaynor@gmail.com> | Tue Feb 26 08:42:12 2019 -0500 |
tree | 9d5d39465ee2bf60a85d1063988fe05c3aaa0145 | |
parent | a42c5c9a91639c1d4405e67316046cb6b939ac84 [diff] |
skip NPN tests if NPN is not available (#822) * skip NPN tests if NPN is not available * use the right name
diff --git a/tests/test_ssl.py b/tests/test_ssl.py index 986463a..ed911de 100644 --- a/tests/test_ssl.py +++ b/tests/test_ssl.py
@@ -1737,6 +1737,9 @@ assert args == [(server, b"foo1.example.com")] +@pytest.mark.skipif( + not _lib.Cryptography_HAS_NEXTPROTONEG, reason="NPN is not available" +) class TestNextProtoNegotiation(object): """ Test for Next Protocol Negotiation in PyOpenSSL.