From dcf62db81ad60b3591ae6d83dce43c311a347ac2 Mon Sep 17 00:00:00 2001 From: David Reid Date: Mon, 18 Nov 2013 13:02:00 -0800 Subject: Move interfaces.register to utils.register_interface in preparation for more interface modules. --- tests/hazmat/bindings/test_openssl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/hazmat/bindings') 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 -- cgit v1.2.3