diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-10-31 08:24:21 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-10-31 08:24:21 -0700 |
commit | eb29be13ca8f1c2d2d0138ee22339f64511f4011 (patch) | |
tree | db724961a2a99d4a3df4a338bfe6cf212b111af3 /tests/hazmat | |
parent | c7c37b5670edf89b2ddcf914cf533d3f7476cb80 (diff) | |
parent | 87f8a23d8e182164d820c99d6de66c8771f30ae5 (diff) | |
download | cryptography-eb29be13ca8f1c2d2d0138ee22339f64511f4011.tar.gz cryptography-eb29be13ca8f1c2d2d0138ee22339f64511f4011.tar.bz2 cryptography-eb29be13ca8f1c2d2d0138ee22339f64511f4011.zip |
Merge branch 'master' into verify-interfaces
Diffstat (limited to 'tests/hazmat')
-rw-r--r-- | tests/hazmat/primitives/test_cmac.py | 3 |
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)), |