This commit is contained in:
Alex Gaynor 2015-07-02 00:06:18 -04:00
parent be28a243b2
commit cc04d679b8

View file

@ -36,6 +36,7 @@ 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)
@ -52,5 +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)