mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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…
Reference in New Issue
Block a user