aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-09-09 17:44:11 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-09-09 17:44:11 -0500
commitbdafcd39172e118c4fc475770546ccef4d5e5784 (patch)
tree8856af434eac491b1c86f92da9834d9b296ba7ee /tests
parent6c272f097b422ea2cd6b1ec2a3b3806c3296987d (diff)
downloadcryptography-bdafcd39172e118c4fc475770546ccef4d5e5784.tar.gz
cryptography-bdafcd39172e118c4fc475770546ccef4d5e5784.tar.bz2
cryptography-bdafcd39172e118c4fc475770546ccef4d5e5784.zip
openssl_version_text now calls startswith rather than find
Diffstat (limited to 'tests')
-rw-r--r--tests/bindings/test_openssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bindings/test_openssl.py b/tests/bindings/test_openssl.py
index db71e328..e0baaf53 100644
--- a/tests/bindings/test_openssl.py
+++ b/tests/bindings/test_openssl.py
@@ -26,4 +26,4 @@ class TestOpenSSL(object):
if it starts with OpenSSL as that appears to be true
for every OpenSSL.
"""
- assert api.openssl_version_text().find("OpenSSL") == 0
+ assert api.openssl_version_text().startswith("OpenSSL")