diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-09-09 17:44:11 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-09-09 17:44:11 -0500 |
commit | bdafcd39172e118c4fc475770546ccef4d5e5784 (patch) | |
tree | 8856af434eac491b1c86f92da9834d9b296ba7ee | |
parent | 6c272f097b422ea2cd6b1ec2a3b3806c3296987d (diff) | |
download | cryptography-bdafcd39172e118c4fc475770546ccef4d5e5784.tar.gz cryptography-bdafcd39172e118c4fc475770546ccef4d5e5784.tar.bz2 cryptography-bdafcd39172e118c4fc475770546ccef4d5e5784.zip |
openssl_version_text now calls startswith rather than find
-rw-r--r-- | tests/bindings/test_openssl.py | 2 |
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") |