aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bindings/test_openssl.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-09-09 17:12:29 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-09-09 17:15:09 -0500
commiteb49db17f85c1a359e319df1a9adadcc8ee7236f (patch)
tree6acab519a0b5e79f4809d8af71ab324384563c11 /tests/bindings/test_openssl.py
parent733404a826678538f0b67d666d4c303b1ccc2204 (diff)
downloadcryptography-eb49db17f85c1a359e319df1a9adadcc8ee7236f.tar.gz
cryptography-eb49db17f85c1a359e319df1a9adadcc8ee7236f.tar.bz2
cryptography-eb49db17f85c1a359e319df1a9adadcc8ee7236f.zip
ascii decode on openssl_version_text + doc string improvements
Diffstat (limited to 'tests/bindings/test_openssl.py')
-rw-r--r--tests/bindings/test_openssl.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/bindings/test_openssl.py b/tests/bindings/test_openssl.py
index 8704d933..db71e328 100644
--- a/tests/bindings/test_openssl.py
+++ b/tests/bindings/test_openssl.py
@@ -19,4 +19,11 @@ class TestOpenSSL(object):
assert api
def test_openssl_version_text(self):
+ """ This test checks the value of OPENSSL_VERSION_TEXT.
+
+ Unfortunately, this define does not appear to have a
+ formal content definition, so for now we'll test to see
+ if it starts with OpenSSL as that appears to be true
+ for every OpenSSL.
+ """
assert api.openssl_version_text().find("OpenSSL") == 0