2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

fix test to trigger

This commit is contained in:
Matthias
2021-12-04 04:38:45 +01:00
parent 55ca284a13
commit 7016c253a8

View File

@ -41,7 +41,7 @@ class NotificationTests(BaseNotificationIntegrationTest):
METHOD_NAME = 'WrongImplementation1' METHOD_NAME = 'WrongImplementation1'
def get_targets(self): def get_targets(self):
return [] return [1, ]
with self.assertRaises(NotImplementedError): with self.assertRaises(NotImplementedError):
self._notification_run() self._notification_run()
@ -53,7 +53,7 @@ class NotificationTests(BaseNotificationIntegrationTest):
METHOD_NAME = 'WrongImplementation2' METHOD_NAME = 'WrongImplementation2'
def get_targets(self): def get_targets(self):
return [] return [1, ]
with self.assertRaises(NotImplementedError): with self.assertRaises(NotImplementedError):
self._notification_run() self._notification_run()