aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-10-31 08:24:21 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-10-31 08:24:21 -0700
commiteb29be13ca8f1c2d2d0138ee22339f64511f4011 (patch)
treedb724961a2a99d4a3df4a338bfe6cf212b111af3 /tests
parentc7c37b5670edf89b2ddcf914cf533d3f7476cb80 (diff)
parent87f8a23d8e182164d820c99d6de66c8771f30ae5 (diff)
downloadcryptography-eb29be13ca8f1c2d2d0138ee22339f64511f4011.tar.gz
cryptography-eb29be13ca8f1c2d2d0138ee22339f64511f4011.tar.bz2
cryptography-eb29be13ca8f1c2d2d0138ee22339f64511f4011.zip
Merge branch 'master' into verify-interfaces
Diffstat (limited to 'tests')
-rw-r--r--tests/hazmat/primitives/test_cmac.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/test_cmac.py b/tests/hazmat/primitives/test_cmac.py
index c778ebee..a2a701a0 100644
--- a/tests/hazmat/primitives/test_cmac.py
+++ b/tests/hazmat/primitives/test_cmac.py
@@ -166,6 +166,9 @@ class TestCMAC(object):
with pytest.raises(AlreadyFinalized):
cmac.finalize()
+ with pytest.raises(AlreadyFinalized):
+ cmac.verify(b"")
+
@pytest.mark.supported(
only_if=lambda backend: backend.cmac_algorithm_supported(
AES(fake_key)),