aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/bindings/test_openssl.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-13 09:49:23 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-13 09:49:23 -0800
commite5aa205070877852ff2d54eebcc0d4ac9cf8465e (patch)
treef8949a7ebe891bbaa183cda6146314e67708133d /tests/hazmat/bindings/test_openssl.py
parent063a3a25630df98f4524fdc54a55cef670810d9f (diff)
downloadcryptography-e5aa205070877852ff2d54eebcc0d4ac9cf8465e.tar.gz
cryptography-e5aa205070877852ff2d54eebcc0d4ac9cf8465e.tar.bz2
cryptography-e5aa205070877852ff2d54eebcc0d4ac9cf8465e.zip
Also remove teh ciphers specific class
Diffstat (limited to 'tests/hazmat/bindings/test_openssl.py')
-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 f1493e8d..241c6411 100644
--- a/tests/hazmat/bindings/test_openssl.py
+++ b/tests/hazmat/bindings/test_openssl.py
@@ -44,11 +44,11 @@ class TestOpenSSL(object):
assert backend.openssl_version_text().startswith("OpenSSL")
def test_supports_cipher(self):
- assert backend.ciphers.supported(None, None) is False
+ assert backend.cipher_supported(None, None) is False
def test_register_duplicate_cipher_adapter(self):
with pytest.raises(ValueError):
- backend.ciphers.register_cipher_adapter(AES, CBC, None)
+ backend.register_cipher_adapter(AES, CBC, None)
def test_instances_share_ffi(self):
b = Backend()
@@ -57,7 +57,7 @@ class TestOpenSSL(object):
def test_nonexistent_cipher(self):
b = Backend()
- b.ciphers.register_cipher_adapter(
+ b.register_cipher_adapter(
FakeCipher,
FakeMode,
lambda backend, cipher, mode: backend.ffi.NULL