aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/bindings
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-20 15:26:53 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-20 15:27:07 -0500
commit704f2f382f3a6385ce5f0f728168590b7ac53a3d (patch)
tree26311799d36713a49f4b3840945c2dc0c1f5a0db /tests/hazmat/bindings
parent38717628f833a2568b379f9ed563220ec5c57ee5 (diff)
downloadcryptography-704f2f382f3a6385ce5f0f728168590b7ac53a3d.tar.gz
cryptography-704f2f382f3a6385ce5f0f728168590b7ac53a3d.tar.bz2
cryptography-704f2f382f3a6385ce5f0f728168590b7ac53a3d.zip
move some comments
Diffstat (limited to 'tests/hazmat/bindings')
-rw-r--r--tests/hazmat/bindings/test_openssl.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/hazmat/bindings/test_openssl.py b/tests/hazmat/bindings/test_openssl.py
index cf3024a7..1dbd23b4 100644
--- a/tests/hazmat/bindings/test_openssl.py
+++ b/tests/hazmat/bindings/test_openssl.py
@@ -104,8 +104,8 @@ class TestOpenSSL(object):
res = b.lib.Cryptography_add_osrandom_engine()
assert res == 2
- # Test that we're properly handling 32-bit unsigned on all platforms
def test_ssl_ctx_options(self):
+ # Test that we're properly handling 32-bit unsigned on all platforms.
b = Binding()
assert b.lib.SSL_OP_ALL > 0
ctx = b.lib.SSL_CTX_new(b.lib.TLSv1_method())
@@ -114,8 +114,8 @@ class TestOpenSSL(object):
assert resp == b.lib.SSL_OP_ALL
assert b.lib.SSL_OP_ALL == b.lib.SSL_CTX_get_options(ctx)
- # Test that we're properly handling 32-bit unsigned on all platforms
def test_ssl_options(self):
+ # Test that we're properly handling 32-bit unsigned on all platforms.
b = Binding()
assert b.lib.SSL_OP_ALL > 0
ctx = b.lib.SSL_CTX_new(b.lib.TLSv1_method())
@@ -126,8 +126,8 @@ class TestOpenSSL(object):
assert resp == b.lib.SSL_OP_ALL
assert b.lib.SSL_OP_ALL == b.lib.SSL_get_options(ssl)
- # Test that we're properly handling 32-bit unsigned on all platforms
def test_ssl_mode(self):
+ # Test that we're properly handling 32-bit unsigned on all platforms.
b = Binding()
assert b.lib.SSL_OP_ALL > 0
ctx = b.lib.SSL_CTX_new(b.lib.TLSv1_method())