mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
without targets it wont work
This commit is contained in:
parent
6c6683657e
commit
f88882da8e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user