aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_interfaces.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-10-28 08:32:26 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-10-28 08:32:26 -0700
commitbe2eec7aabde5f9877ffbbcce96c10eab454ac38 (patch)
tree55ef9a2a85e0b2c467662ac8b0c2542446d07a2a /tests/test_interfaces.py
parent4583ffda28b816359f4351cfe7918b2353cf947e (diff)
downloadcryptography-be2eec7aabde5f9877ffbbcce96c10eab454ac38.tar.gz
cryptography-be2eec7aabde5f9877ffbbcce96c10eab454ac38.tar.bz2
cryptography-be2eec7aabde5f9877ffbbcce96c10eab454ac38.zip
Fix tests
Diffstat (limited to 'tests/test_interfaces.py')
-rw-r--r--tests/test_interfaces.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/test_interfaces.py b/tests/test_interfaces.py
index 0c72ad33..b988abee 100644
--- a/tests/test_interfaces.py
+++ b/tests/test_interfaces.py
@@ -17,9 +17,7 @@ import pytest
import six
-from cryptography.utils import (
- InterfaceNotImplemented, register_interface, verify_interface
-)
+from cryptography.utils import InterfaceNotImplemented, verify_interface
class TestVerifyInterface(object):
@@ -30,7 +28,6 @@ class TestVerifyInterface(object):
def method(self):
"""A simple method"""
- @register_interface(SimpleInterface)
class NonImplementer(object):
pass
@@ -44,7 +41,6 @@ class TestVerifyInterface(object):
def method(self, a):
"""Method with one argument"""
- @register_interface(SimpleInterface)
class NonImplementer(object):
def method(self):
"""Method with no arguments"""
@@ -59,7 +55,6 @@ class TestVerifyInterface(object):
def property(self):
"""An abstract property"""
- @register_interface(SimpleInterface)
class NonImplementer(object):
@property
def property(self):