aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_interfaces.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-07-03 03:52:39 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-07-03 03:52:39 -0400
commit53a36a1f8cd7c6bf243d5a5ad5522b0a592bba3d (patch)
tree6e8ec078cf59bd7d7ea2f94747aba82175298688 /tests/test_interfaces.py
parentf5a4519f7ead73cbca826f3d7c815dd8963efb0a (diff)
parent23cafe861f4da2d7261a41bc57801b226e6b8c1b (diff)
downloadcryptography-53a36a1f8cd7c6bf243d5a5ad5522b0a592bba3d.tar.gz
cryptography-53a36a1f8cd7c6bf243d5a5ad5522b0a592bba3d.tar.bz2
cryptography-53a36a1f8cd7c6bf243d5a5ad5522b0a592bba3d.zip
Merge branch 'master' into encode-san
Diffstat (limited to 'tests/test_interfaces.py')
-rw-r--r--tests/test_interfaces.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_interfaces.py b/tests/test_interfaces.py
index 4d571ea6..bdb4a94d 100644
--- a/tests/test_interfaces.py
+++ b/tests/test_interfaces.py
@@ -36,6 +36,8 @@ class TestVerifyInterface(object):
def method(self):
"""Method with no arguments"""
+ # Invoke this to ensure the line is covered
+ NonImplementer().method()
with pytest.raises(InterfaceNotImplemented):
verify_interface(SimpleInterface, NonImplementer)
@@ -51,4 +53,6 @@ class TestVerifyInterface(object):
def property(self):
"""A concrete property"""
+ # Invoke this to ensure the line is covered
+ NonImplementer().property
verify_interface(SimpleInterface, NonImplementer)