aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_hashes.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_hashes.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_hashes.py')
-rw-r--r--tests/hazmat/primitives/test_hashes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/test_hashes.py b/tests/hazmat/primitives/test_hashes.py
index ffd65bde..2bf1f8ef 100644
--- a/tests/hazmat/primitives/test_hashes.py
+++ b/tests/hazmat/primitives/test_hashes.py
@@ -33,6 +33,8 @@ from ...utils import raises_unsupported_algorithm
@utils.register_interface(interfaces.HashAlgorithm)
class UnsupportedDummyHash(object):
name = "unsupported-dummy-hash"
+ block_size = 128
+ digest_size = 128
@pytest.mark.hash