aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_hmac.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-10-22 10:12:07 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-10-22 10:12:07 -0700
commitd918580097506197e0aadaa60c4681536b5f4adf (patch)
tree2b58223f53302e0aa953c0fc203537dda879d1fc /tests/hazmat/primitives/test_hmac.py
parent633caacfe7e86f9098bb8cb64cfc12a9fe5cc35c (diff)
downloadcryptography-d918580097506197e0aadaa60c4681536b5f4adf.tar.gz
cryptography-d918580097506197e0aadaa60c4681536b5f4adf.tar.bz2
cryptography-d918580097506197e0aadaa60c4681536b5f4adf.zip
Statically verify interface implementations, and fix all the resulting bugs
Diffstat (limited to 'tests/hazmat/primitives/test_hmac.py')
-rw-r--r--tests/hazmat/primitives/test_hmac.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_hmac.py b/tests/hazmat/primitives/test_hmac.py
index 77dfb6be..21be73a3 100644
--- a/tests/hazmat/primitives/test_hmac.py
+++ b/tests/hazmat/primitives/test_hmac.py
@@ -32,7 +32,9 @@ from ...utils import raises_unsupported_algorithm
@utils.register_interface(interfaces.HashAlgorithm)
class UnsupportedDummyHash(object):
- name = "unsupported-dummy-hash"
+ name = "unsupported-dummy-hash"
+ block_size = 128
+ digest_size = 128
@pytest.mark.supported(