diff --git a/InvenTree/common/test_notifications.py b/InvenTree/common/test_notifications.py index d899dd14a0..a6cfcba534 100644 --- a/InvenTree/common/test_notifications.py +++ b/InvenTree/common/test_notifications.py @@ -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()