mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix test to trigger
This commit is contained in:
parent
55ca284a13
commit
7016c253a8
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user