diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-16 14:27:52 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-16 14:27:52 -0700 |
commit | 512dd6925202c5dc6680dd7157a132a9ffc4855f (patch) | |
tree | 825f91b14d8bf539bde5e4f3b7ec670f078e8a68 /tests/primitives/test_cryptrec.py | |
parent | a20631d332d47903a85b61c4b68c5398125a3ebe (diff) | |
download | cryptography-512dd6925202c5dc6680dd7157a132a9ffc4855f.tar.gz cryptography-512dd6925202c5dc6680dd7157a132a9ffc4855f.tar.bz2 cryptography-512dd6925202c5dc6680dd7157a132a9ffc4855f.zip |
Move around the skip logic
Diffstat (limited to 'tests/primitives/test_cryptrec.py')
-rw-r--r-- | tests/primitives/test_cryptrec.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/primitives/test_cryptrec.py b/tests/primitives/test_cryptrec.py index 59d8b24b..4d16ce03 100644 --- a/tests/primitives/test_cryptrec.py +++ b/tests/primitives/test_cryptrec.py @@ -30,8 +30,9 @@ class TestCamelliaECB(object): test_NTT = generate_encrypt_test( load_cryptrec_vectors_from_file, os.path.join("Camellia", "NTT"), - ["camellia-128-ecb", "camellia-192-ecb", "camellia-256"], + ["camellia-128-ecb.txt", "camellia-192-ecb.txt", "camellia-256-ecb.txt"], lambda key: ciphers.Camellia(binascii.unhexlify((key))), lambda key: modes.EBC(), - only_if=lambda api: api.supports_cipher("camellia-128-ecb") + only_if=lambda api: api.supports_cipher("camellia-128-ecb"), + skip_message="Does not support Camellia ECB", ) |