aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/bindings/test_openssl.py
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2013-11-13 10:41:28 -0800
committerDavid Reid <dreid@dreid.org>2013-11-13 10:41:28 -0800
commit2d45bc3295c62e09dd06f19e206735e374bddd61 (patch)
treef8949a7ebe891bbaa183cda6146314e67708133d /tests/hazmat/bindings/test_openssl.py
parent4826ec6e7602a3d2bca687afadb97a04a5e85ff2 (diff)
parente5aa205070877852ff2d54eebcc0d4ac9cf8465e (diff)
downloadcryptography-2d45bc3295c62e09dd06f19e206735e374bddd61.tar.gz
cryptography-2d45bc3295c62e09dd06f19e206735e374bddd61.tar.bz2
cryptography-2d45bc3295c62e09dd06f19e206735e374bddd61.zip
Merge pull request #255 from alex/remove-backends
Remove the hash and hmac specific classes, now that the logic is the Con...
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