aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-11-29 17:19:25 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-11-29 17:19:46 -0600
commit5a40896cbeae2cc2673c86aa18d3953314e760ba (patch)
treea6991cf003aadf9b5d03426d8c5487c17978dbd0 /tests/hazmat
parente0b5bb18c3963ebaa66d537d2cf00c2cc0dd804c (diff)
downloadcryptography-5a40896cbeae2cc2673c86aa18d3953314e760ba.tar.gz
cryptography-5a40896cbeae2cc2673c86aa18d3953314e760ba.tar.bz2
cryptography-5a40896cbeae2cc2673c86aa18d3953314e760ba.zip
create AEADEncryptionContext and DecryptionContext
Diffstat (limited to 'tests/hazmat')
-rw-r--r--tests/hazmat/primitives/utils.py2
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