aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_interfaces.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-07-02 08:09:40 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-07-02 08:09:40 -0500
commit7dbd626b5b32855ed4b8b19c7bd00cd9d31090f4 (patch)
treef40c381ff722229cd1763ca6ac313c3361a5009f /tests/test_interfaces.py
parent651476fca6c761b37df04f71bbebbfbe863a524b (diff)
parent50ebb489852b8c9dd02d08e09375aa00859999bf (diff)
downloadcryptography-7dbd626b5b32855ed4b8b19c7bd00cd9d31090f4.tar.gz
cryptography-7dbd626b5b32855ed4b8b19c7bd00cd9d31090f4.tar.bz2
cryptography-7dbd626b5b32855ed4b8b19c7bd00cd9d31090f4.zip
Merge pull request #2099 from alex/test-coverage
Improved coverage for tests, handle multiple pytest.mark.supported
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)