aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_cast5.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-12-21 09:55:01 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-12-21 09:55:01 -0800
commit72d3b80eeb5c31fb487f56f38f283b6416301ad9 (patch)
treebe7e8a8233e2420f761928c4a5a83ae8e6492570 /tests/hazmat/primitives/test_cast5.py
parent9b9318d79ba5927603b120411d13b607938cae56 (diff)
parent687d0f849fd88eeaa6fe8968091a9d79b7f96901 (diff)
downloadcryptography-72d3b80eeb5c31fb487f56f38f283b6416301ad9.tar.gz
cryptography-72d3b80eeb5c31fb487f56f38f283b6416301ad9.tar.bz2
cryptography-72d3b80eeb5c31fb487f56f38f283b6416301ad9.zip
Merge pull request #323 from reaperhulk/fix-tests-multi-backend
Don't modify params dict on parametrized tests
Diffstat (limited to 'tests/hazmat/primitives/test_cast5.py')
-rw-r--r--tests/hazmat/primitives/test_cast5.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hazmat/primitives/test_cast5.py b/tests/hazmat/primitives/test_cast5.py
index a283dafc..406f9b55 100644
--- a/tests/hazmat/primitives/test_cast5.py
+++ b/tests/hazmat/primitives/test_cast5.py
@@ -27,8 +27,8 @@ class TestCAST5(object):
load_nist_vectors,
os.path.join("ciphers", "CAST5"),
["cast5-ecb.txt"],
- lambda key: algorithms.CAST5(binascii.unhexlify((key))),
- lambda key: modes.ECB(),
+ lambda key, **kwargs: algorithms.CAST5(binascii.unhexlify((key))),
+ lambda **kwargs: modes.ECB(),
only_if=lambda backend: backend.cipher_supported(
algorithms.CAST5("\x00" * 16), modes.ECB()
),