From 1f7a75ca9242cca743dc86688ebe9234c96578c6 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 4 Dec 2021 01:10:56 +0100 Subject: [PATCH] docs are never bad --- InvenTree/common/test_notifications.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/InvenTree/common/test_notifications.py b/InvenTree/common/test_notifications.py index 0e645585ad..aceb25dafb 100644 --- a/InvenTree/common/test_notifications.py +++ b/InvenTree/common/test_notifications.py @@ -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('', '', '')