aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_utils.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-11-22 14:10:59 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-11-29 17:19:45 -0600
commitce9c611feb4db781fcab5b7bbc68b936816d6a73 (patch)
tree4a100b1c88c38cba5df20ee4950d240507e7d7d1 /tests/hazmat/primitives/test_utils.py
parent6331daa36902edf5a5dd04e4e3fa0e188db59420 (diff)
downloadcryptography-ce9c611feb4db781fcab5b7bbc68b936816d6a73.tar.gz
cryptography-ce9c611feb4db781fcab5b7bbc68b936816d6a73.tar.bz2
cryptography-ce9c611feb4db781fcab5b7bbc68b936816d6a73.zip
enforce AEAD add_data before update
Diffstat (limited to 'tests/hazmat/primitives/test_utils.py')
-rw-r--r--tests/hazmat/primitives/test_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hazmat/primitives/test_utils.py b/tests/hazmat/primitives/test_utils.py
index f286e02d..ebb8b5c4 100644
--- a/tests/hazmat/primitives/test_utils.py
+++ b/tests/hazmat/primitives/test_utils.py
@@ -3,7 +3,7 @@ import pytest
from .utils import (
base_hash_test, encrypt_test, hash_test, long_string_hash_test,
base_hmac_test, hmac_test, stream_encryption_test, aead_test,
- aead_use_after_finalize_test,
+ aead_exception_test,
)
@@ -32,7 +32,7 @@ class TestAEADTest(object):
class TestAEADFinalizeTest(object):
def test_skips_if_only_if_returns_false(self):
with pytest.raises(pytest.skip.Exception) as exc_info:
- aead_use_after_finalize_test(
+ aead_exception_test(
None, None, None,
only_if=lambda backend: False,
skip_message="message!"