mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 20:15:44 +00:00
docs are never bad
This commit is contained in:
@ -22,12 +22,15 @@ class NotificationTests(BaseNotificationIntegrationTest):
|
||||
class NoNameNotificationMethod(NotificationMethod):
|
||||
pass
|
||||
|
||||
# no send / send bulk
|
||||
with self.assertRaises(NotImplementedError):
|
||||
FalseNotificationMethod('', '', '')
|
||||
|
||||
# no gathering
|
||||
with self.assertRaises(NotImplementedError):
|
||||
AnotherFalseNotificationMethod('', '', '')
|
||||
|
||||
# no METHOD_NAME
|
||||
with self.assertRaises(NotImplementedError):
|
||||
NoNameNotificationMethod('', '', '')
|
||||
|
||||
|
Reference in New Issue
Block a user