aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bindings/test_openssl.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bindings/test_openssl.py')
-rw-r--r--tests/bindings/test_openssl.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/bindings/test_openssl.py b/tests/bindings/test_openssl.py
index 1579f002..e5b78d18 100644
--- a/tests/bindings/test_openssl.py
+++ b/tests/bindings/test_openssl.py
@@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from cryptography.bindings.openssl import api
+from cryptography.bindings.openssl.api import api
class TestOpenSSL(object):
@@ -28,3 +28,6 @@ class TestOpenSSL(object):
for every OpenSSL.
"""
assert api.openssl_version_text().startswith("OpenSSL")
+
+ def test_supports_cipher(self):
+ assert api.supports_cipher("not-a-real-cipher") is False