aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/bindings/test_openssl.py
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2013-11-18 12:48:31 -0800
committerDavid Reid <dreid@dreid.org>2013-11-18 12:48:31 -0800
commit3daa8b45151be755a29f708832c49e901c6e9fdc (patch)
tree212076f886d155a13cbeffe9c942221c6b206dab /tests/hazmat/bindings/test_openssl.py
parent6624a444c665ff6655cb0f2b9cece131afab6e49 (diff)
downloadcryptography-3daa8b45151be755a29f708832c49e901c6e9fdc.tar.gz
cryptography-3daa8b45151be755a29f708832c49e901c6e9fdc.tar.bz2
cryptography-3daa8b45151be755a29f708832c49e901c6e9fdc.zip
Move more uses of interfaces.register...
Diffstat (limited to 'tests/hazmat/bindings/test_openssl.py')
-rw-r--r--tests/hazmat/bindings/test_openssl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/hazmat/bindings/test_openssl.py b/tests/hazmat/bindings/test_openssl.py
index e4f8dd8b..9f27aab7 100644
--- a/tests/hazmat/bindings/test_openssl.py
+++ b/tests/hazmat/bindings/test_openssl.py
@@ -13,6 +13,7 @@
import pytest
+from cryptography import utils
from cryptography.exceptions import UnsupportedAlgorithm
from cryptography.hazmat.bindings.openssl.backend import backend, Backend
from cryptography.hazmat.primitives import interfaces
@@ -25,7 +26,7 @@ class DummyMode(object):
pass
-@interfaces.register(interfaces.CipherAlgorithm)
+@utils.register_interface(interfaces.CipherAlgorithm)
class DummyCipher(object):
pass