mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
add docs
This commit is contained in:
parent
39543555af
commit
6660069f45
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user