mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
docs are never bad
This commit is contained in:
parent
4e07b4bf72
commit
1f7a75ca92
@ -22,12 +22,15 @@ class NotificationTests(BaseNotificationIntegrationTest):
|
|||||||
class NoNameNotificationMethod(NotificationMethod):
|
class NoNameNotificationMethod(NotificationMethod):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
# no send / send bulk
|
||||||
with self.assertRaises(NotImplementedError):
|
with self.assertRaises(NotImplementedError):
|
||||||
FalseNotificationMethod('', '', '')
|
FalseNotificationMethod('', '', '')
|
||||||
|
|
||||||
|
# no gathering
|
||||||
with self.assertRaises(NotImplementedError):
|
with self.assertRaises(NotImplementedError):
|
||||||
AnotherFalseNotificationMethod('', '', '')
|
AnotherFalseNotificationMethod('', '', '')
|
||||||
|
|
||||||
|
# no METHOD_NAME
|
||||||
with self.assertRaises(NotImplementedError):
|
with self.assertRaises(NotImplementedError):
|
||||||
NoNameNotificationMethod('', '', '')
|
NoNameNotificationMethod('', '', '')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user