Move around the skip logic
diff --git a/tests/primitives/test_cryptrec.py b/tests/primitives/test_cryptrec.py
index 59d8b24..4d16ce0 100644
--- a/tests/primitives/test_cryptrec.py
+++ b/tests/primitives/test_cryptrec.py
@@ -30,8 +30,9 @@
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",
)