aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_hmac.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-02-13 12:49:27 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2015-02-13 12:49:27 -0500
commit0f696fab0e012bca0b69f2c933c679f5ecbe80ad (patch)
tree96d5ed3979e735548b0e3ec6a59f5017d820526b /tests/hazmat/primitives/test_hmac.py
parent723cc3f2ed921c01168ea8f35ca7e94f2cc0a44b (diff)
parent2636e4abd54140a26cf8f0793d1be16d9458e032 (diff)
downloadcryptography-0f696fab0e012bca0b69f2c933c679f5ecbe80ad.tar.gz
cryptography-0f696fab0e012bca0b69f2c933c679f5ecbe80ad.tar.bz2
cryptography-0f696fab0e012bca0b69f2c933c679f5ecbe80ad.zip
Merge pull request #1658 from reaperhulk/move-hash-interfaces
Move hash interfaces
Diffstat (limited to 'tests/hazmat/primitives/test_hmac.py')
-rw-r--r--tests/hazmat/primitives/test_hmac.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hazmat/primitives/test_hmac.py b/tests/hazmat/primitives/test_hmac.py
index e31ddc8e..acd03323 100644
--- a/tests/hazmat/primitives/test_hmac.py
+++ b/tests/hazmat/primitives/test_hmac.py
@@ -15,14 +15,14 @@ from cryptography.exceptions import (
AlreadyFinalized, InvalidSignature, _Reasons
)
from cryptography.hazmat.backends.interfaces import HMACBackend
-from cryptography.hazmat.primitives import hashes, hmac, interfaces
+from cryptography.hazmat.primitives import hashes, hmac
from .utils import generate_base_hmac_test
from ..backends.test_multibackend import DummyHMACBackend
from ...utils import raises_unsupported_algorithm
-@utils.register_interface(interfaces.HashAlgorithm)
+@utils.register_interface(hashes.HashAlgorithm)
class UnsupportedDummyHash(object):
name = "unsupported-dummy-hash"
block_size = None