add marker statment to wrong implementations

This commit is contained in:
Matthias 2021-12-03 02:02:51 +01:00
parent 79bab93afc
commit 2917af9715
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -27,7 +27,9 @@ class NotificationTests(BaseNotificationIntegrationTest):
"""ensure the implementation requirements are tested""" """ensure the implementation requirements are tested"""
class WrongImplementation(SingleNotificationMethod): class WrongImplementation(SingleNotificationMethod):
pass def setup(self):
print('running setup on WrongImplementation')
return super().setup()
with self.assertRaises(NotImplementedError): with self.assertRaises(NotImplementedError):
self._notification_run() self._notification_run()
@ -36,7 +38,9 @@ class NotificationTests(BaseNotificationIntegrationTest):
"""ensure the implementation requirements are tested""" """ensure the implementation requirements are tested"""
class WrongImplementation(BulkNotificationMethod): class WrongImplementation(BulkNotificationMethod):
pass def setup(self):
print('running setup on WrongImplementation')
return super().setup()
with self.assertRaises(NotImplementedError): with self.assertRaises(NotImplementedError):
self._notification_run() self._notification_run()