aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_pbkdf2hmac.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-02-12 12:51:00 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-02-13 08:38:06 -0600
commit601278a17617e5aa631d6395320340f4df3641b2 (patch)
tree4e1ba797bc42ca5c1f7a17df98ec407199b2cb5a /tests/hazmat/primitives/test_pbkdf2hmac.py
parent723cc3f2ed921c01168ea8f35ca7e94f2cc0a44b (diff)
downloadcryptography-601278a17617e5aa631d6395320340f4df3641b2.tar.gz
cryptography-601278a17617e5aa631d6395320340f4df3641b2.tar.bz2
cryptography-601278a17617e5aa631d6395320340f4df3641b2.zip
move hash interfaces
Diffstat (limited to 'tests/hazmat/primitives/test_pbkdf2hmac.py')
-rw-r--r--tests/hazmat/primitives/test_pbkdf2hmac.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hazmat/primitives/test_pbkdf2hmac.py b/tests/hazmat/primitives/test_pbkdf2hmac.py
index caa6a852..df49d23c 100644
--- a/tests/hazmat/primitives/test_pbkdf2hmac.py
+++ b/tests/hazmat/primitives/test_pbkdf2hmac.py
@@ -13,13 +13,13 @@ from cryptography.exceptions import (
AlreadyFinalized, InvalidKey, _Reasons
)
from cryptography.hazmat.backends import default_backend
-from cryptography.hazmat.primitives import hashes, interfaces
+from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
from ...utils import raises_unsupported_algorithm
-@utils.register_interface(interfaces.HashAlgorithm)
+@utils.register_interface(hashes.HashAlgorithm)
class DummyHash(object):
name = "dummy-hash"
block_size = None