summaryrefslogtreecommitdiff
path: root/tests/test_ssl.py
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2016-03-13 13:53:48 +0100
committerHynek Schlawack <hs@ox.cx>2016-03-13 13:53:48 +0100
commitaa86121cd7a4962052b4651f4338d41bfd120438 (patch)
treeba1988acdf11da3a3919b91f4546027c8424d332 /tests/test_ssl.py
parent43dcebbf21b4ae0d5b5fa54dbe9e157b59ef6902 (diff)
downloadpyopenssl-git-aa86121cd7a4962052b4651f4338d41bfd120438.tar.gz
Pluck more unrelated bits from #422
Diffstat (limited to 'tests/test_ssl.py')
-rw-r--r--tests/test_ssl.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/test_ssl.py b/tests/test_ssl.py
index 433fa2c..da313f7 100644
--- a/tests/test_ssl.py
+++ b/tests/test_ssl.py
@@ -356,6 +356,11 @@ def context():
class TestContext(object):
+ """
+ py.test-based tests for :class:`OpenSSL.SSL.Context`.
+
+ If possible, add new tests here.
+ """
@pytest.mark.parametrize("cipher_string", [
b"hello world:AES128-SHA",
u"hello world:AES128-SHA",
@@ -387,7 +392,9 @@ class TestContext(object):
class ContextTests(TestCase, _LoopbackMixin):
"""
- Unit tests for :py:obj:`OpenSSL.SSL.Context`.
+ Unit tests for :class:`OpenSSL.SSL.Context`.
+
+ If possible, add new tests to :class:`TestContext` above.
"""
def test_method(self):
"""
@@ -2016,7 +2023,7 @@ class SessionTests(TestCase):
class ConnectionTests(TestCase, _LoopbackMixin):
"""
- Unit tests for :py:obj:`OpenSSL.SSL.Connection`.
+ Unit tests for :class:`OpenSSL.SSL.Connection`.
"""
# XXX get_peer_certificate -> None
# XXX sock_shutdown