summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCory Benfield <lukasaoz@gmail.com>2015-04-13 18:12:53 -0400
committerCory Benfield <lukasaoz@gmail.com>2015-04-13 18:12:53 -0400
commitbb8516b0566d8cdaa5c598539b93e3c112644faa (patch)
tree535abc64532b0994d2fc57f4fdfef0809b7212ef
parent222f30e49d2d4d5096cebdf9d793f37f29284b64 (diff)
downloadpyopenssl-bb8516b0566d8cdaa5c598539b93e3c112644faa.tar.gz
Remove 'test that'.
-rw-r--r--OpenSSL/test/test_ssl.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py
index a499189..d44a6bd 100644
--- a/OpenSSL/test/test_ssl.py
+++ b/OpenSSL/test/test_ssl.py
@@ -1793,9 +1793,9 @@ class ApplicationLayerProtoNegotiationTests(TestCase, _LoopbackMixin):
def test_alpn_success(self):
"""
- Tests that clients and servers that agree on the negotiated ALPN
- protocol can correct establish a connection, and that the agreed
- protocol is reported by the connections.
+ Clients and servers that agree on the negotiated ALPN protocol can
+ correct establish a connection, and the agreed protocol is reported
+ by the connections.
"""
select_args = []
def select(conn, options):
@@ -1870,8 +1870,8 @@ class ApplicationLayerProtoNegotiationTests(TestCase, _LoopbackMixin):
def test_alpn_server_fail(self):
"""
- Tests that when clients and servers cannot agree on what protocol
- to use next that the TLS connection does not get established.
+ When clients and servers cannot agree on what protocol to use next
+ the TLS connection does not get established.
"""
select_args = []
def select(conn, options):
@@ -1905,8 +1905,8 @@ class ApplicationLayerProtoNegotiationTests(TestCase, _LoopbackMixin):
def test_alpn_no_server(self):
"""
- Tests that when clients and servers cannot agree on what protocol
- to use next because the server doesn't offer ALPN.
+ When clients and servers cannot agree on what protocol to use next
+ because the server doesn't offer ALPN, no protocol is negotiated.
"""
client_context = Context(TLSv1_METHOD)
client_context.set_alpn_protos([b'http/1.1', b'spdy/2'])
@@ -1934,7 +1934,7 @@ class ApplicationLayerProtoNegotiationTests(TestCase, _LoopbackMixin):
def test_alpn_callback_exception(self):
"""
- Test that we can handle exceptions in the ALPN select callback.
+ We can handle exceptions in the ALPN select callback.
"""
select_args = []
def select(conn, options):