From 745c95c75cc6588ecd9b927e5974bf00426125a2 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 16 Oct 2013 14:41:35 -0700 Subject: flake8 fixes --- tests/primitives/test_cryptrec.py | 6 +++++- tests/primitives/test_nist.py | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/primitives') diff --git a/tests/primitives/test_cryptrec.py b/tests/primitives/test_cryptrec.py index 13ae771d..edf97652 100644 --- a/tests/primitives/test_cryptrec.py +++ b/tests/primitives/test_cryptrec.py @@ -30,7 +30,11 @@ class TestCamelliaECB(object): test_NTT = generate_encrypt_test( load_cryptrec_vectors_from_file, os.path.join("Camellia", "NTT"), - ["camellia-128-ecb.txt", "camellia-192-ecb.txt", "camellia-256-ecb.txt"], + [ + "camellia-128-ecb.txt", + "camellia-192-ecb.txt", + "camellia-256-ecb.txt" + ], lambda key: ciphers.Camellia(binascii.unhexlify((key))), lambda key: modes.ECB(), only_if=lambda api: api.supports_cipher("camellia-128-ecb"), diff --git a/tests/primitives/test_nist.py b/tests/primitives/test_nist.py index e7778f1f..d97b207b 100644 --- a/tests/primitives/test_nist.py +++ b/tests/primitives/test_nist.py @@ -153,7 +153,6 @@ class TestAES_CFB(object): lambda key, iv: modes.CFB(binascii.unhexlify(iv)), ) - test_MMT = generate_encrypt_test( lambda path: load_nist_vectors_from_file(path, "ENCRYPT"), os.path.join("AES", "MMT"), -- cgit v1.2.3