2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 05:46:34 +00:00
This commit is contained in:
Matthias
2022-05-15 01:10:46 +02:00
parent 39543555af
commit 6660069f45

View File

@ -45,6 +45,7 @@ class ExampleScheduledTaskPluginTests(TestCase):
def test_calling(self): def test_calling(self):
"""check if a function can be called without errors""" """check if a function can be called without errors"""
# Check with right parameters
self.assertEqual(call_function('schedule', 'member_func'), False) self.assertEqual(call_function('schedule', 'member_func'), False)
# Check with wrong key # Check with wrong key