mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Fix tests
This commit is contained in:
parent
4583ffda28
commit
be2eec7aab
1 changed files with 1 additions and 6 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue