2
0
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:
Matthias
2021-12-04 01:10:56 +01:00
parent 4e07b4bf72
commit 1f7a75ca92

View File

@ -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('', '', '')