mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 12:36:45 +00:00
add marker statment to wrong implementations
This commit is contained in:
parent
79bab93afc
commit
2917af9715
@ -27,7 +27,9 @@ class NotificationTests(BaseNotificationIntegrationTest):
|
||||
"""ensure the implementation requirements are tested"""
|
||||
|
||||
class WrongImplementation(SingleNotificationMethod):
|
||||
pass
|
||||
def setup(self):
|
||||
print('running setup on WrongImplementation')
|
||||
return super().setup()
|
||||
|
||||
with self.assertRaises(NotImplementedError):
|
||||
self._notification_run()
|
||||
@ -36,7 +38,9 @@ class NotificationTests(BaseNotificationIntegrationTest):
|
||||
"""ensure the implementation requirements are tested"""
|
||||
|
||||
class WrongImplementation(BulkNotificationMethod):
|
||||
pass
|
||||
def setup(self):
|
||||
print('running setup on WrongImplementation')
|
||||
return super().setup()
|
||||
|
||||
with self.assertRaises(NotImplementedError):
|
||||
self._notification_run()
|
||||
|
Loading…
x
Reference in New Issue
Block a user