without targets it wont work

This commit is contained in:
Matthias 2021-12-04 03:56:16 +01:00
parent 6c6683657e
commit f88882da8e
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -36,11 +36,13 @@ class NotificationTests(BaseNotificationIntegrationTest):
def test_SingleNotificationMethod(self):
"""ensure the implementation requirements are tested"""
print('TESTING SingleNotificationMethod')
class WrongImplementation(SingleNotificationMethod):
METHOD_NAME = 'WrongImplementation1'
def get_targets(self):
return []
def setup(self):
print('running setup on WrongImplementation')
return super().setup()
@ -50,11 +52,13 @@ class NotificationTests(BaseNotificationIntegrationTest):
def test_BulkNotificationMethod(self):
"""ensure the implementation requirements are tested"""
print('TESTING BulkNotificationMethod')
class WrongImplementation(BulkNotificationMethod):
METHOD_NAME = 'WrongImplementation2'
def get_targets(self):
return []
def setup(self):
print('running setup on WrongImplementation')
return super().setup()