aboutsummaryrefslogtreecommitdiffstats
path: root/tests/primitives/test_cryptrec.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-16 14:27:52 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-16 14:27:52 -0700
commit512dd6925202c5dc6680dd7157a132a9ffc4855f (patch)
tree825f91b14d8bf539bde5e4f3b7ec670f078e8a68 /tests/primitives/test_cryptrec.py
parenta20631d332d47903a85b61c4b68c5398125a3ebe (diff)
downloadcryptography-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.py5
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",
)