mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
Fix assertation
This commit is contained in:
parent
6660069f45
commit
76f92003fd
@ -49,7 +49,7 @@ class ExampleScheduledTaskPluginTests(TestCase):
|
|||||||
self.assertEqual(call_function('schedule', 'member_func'), False)
|
self.assertEqual(call_function('schedule', 'member_func'), False)
|
||||||
|
|
||||||
# Check with wrong key
|
# Check with wrong key
|
||||||
self.assertEqual(call_function('does_not_exsist', 'member_func'), '')
|
self.assertEqual(call_function('does_not_exsist', 'member_func'), None)
|
||||||
|
|
||||||
|
|
||||||
class ScheduledTaskPluginTests(TestCase):
|
class ScheduledTaskPluginTests(TestCase):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user