diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-02 08:09:40 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-02 08:09:40 -0500 |
commit | 7dbd626b5b32855ed4b8b19c7bd00cd9d31090f4 (patch) | |
tree | f40c381ff722229cd1763ca6ac313c3361a5009f /tests/test_interfaces.py | |
parent | 651476fca6c761b37df04f71bbebbfbe863a524b (diff) | |
parent | 50ebb489852b8c9dd02d08e09375aa00859999bf (diff) | |
download | cryptography-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.py | 4 |
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) |