diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-11-29 17:19:25 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-11-29 17:19:46 -0600 |
commit | 5a40896cbeae2cc2673c86aa18d3953314e760ba (patch) | |
tree | a6991cf003aadf9b5d03426d8c5487c17978dbd0 /tests | |
parent | e0b5bb18c3963ebaa66d537d2cf00c2cc0dd804c (diff) | |
download | cryptography-5a40896cbeae2cc2673c86aa18d3953314e760ba.tar.gz cryptography-5a40896cbeae2cc2673c86aa18d3953314e760ba.tar.bz2 cryptography-5a40896cbeae2cc2673c86aa18d3953314e760ba.zip |
create AEADEncryptionContext and DecryptionContext
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hazmat/primitives/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/utils.py b/tests/hazmat/primitives/utils.py index 58b9a917..9aa3a89a 100644 --- a/tests/hazmat/primitives/utils.py +++ b/tests/hazmat/primitives/utils.py @@ -351,5 +351,5 @@ def aead_exception_test(backend, cipher_factory, mode_factory, ) decryptor = cipher.decryptor() decryptor.update(b"a" * 16) - with pytest.raises(TypeError): + with pytest.raises(AttributeError): decryptor.tag |