summaryrefslogtreecommitdiff
path: root/tests/test_ssl.py
diff options
context:
space:
mode:
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