diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-05-20 10:09:02 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2017-05-20 10:09:02 -0700 |
commit | 51032351297b9bf7d783b7138ac0c142d8e38918 (patch) | |
tree | 3a3ca718dbb0cf904d66b9046489185349ba508b /tests/hazmat/primitives/utils.py | |
parent | d08ddd5af21de62088c0236bfac1d647a6cb84a2 (diff) | |
download | cryptography-51032351297b9bf7d783b7138ac0c142d8e38918.tar.gz cryptography-51032351297b9bf7d783b7138ac0c142d8e38918.tar.bz2 cryptography-51032351297b9bf7d783b7138ac0c142d8e38918.zip |
time to remove commoncrypto, fare thee well (#3551)
* time to remove commoncrypto, fare thee well
* remove even more
* update the changelog
* remove more things
* don't need this function
* remove CAST5 CTR tests since that was only supported in commoncrypto
* assert a thing
Diffstat (limited to 'tests/hazmat/primitives/utils.py')
-rw-r--r-- | tests/hazmat/primitives/utils.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/hazmat/primitives/utils.py b/tests/hazmat/primitives/utils.py index 59326367..b8200123 100644 --- a/tests/hazmat/primitives/utils.py +++ b/tests/hazmat/primitives/utils.py @@ -47,10 +47,9 @@ def generate_encrypt_test(param_loader, path, file_names, cipher_factory, def encrypt_test(backend, cipher_factory, mode_factory, params): - if not backend.cipher_supported( + assert backend.cipher_supported( cipher_factory(**params), mode_factory(**params) - ): - pytest.skip("cipher/mode combo is unsupported by this backend") + ) plaintext = params["plaintext"] ciphertext = params["ciphertext"] |