aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_cast5.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/primitives/test_cast5.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/primitives/test_cast5.py')
-rw-r--r--tests/hazmat/primitives/test_cast5.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_cast5.py b/tests/hazmat/primitives/test_cast5.py
index 486b5b5a..a283dafc 100644
--- a/tests/hazmat/primitives/test_cast5.py
+++ b/tests/hazmat/primitives/test_cast5.py
@@ -29,7 +29,7 @@ class TestCAST5(object):
["cast5-ecb.txt"],
lambda key: algorithms.CAST5(binascii.unhexlify((key))),
lambda key: modes.ECB(),
- only_if=lambda backend: backend.ciphers.supported(
+ only_if=lambda backend: backend.cipher_supported(
algorithms.CAST5("\x00" * 16), modes.ECB()
),
skip_message="Does not support CAST5 ECB",