Add test for call_funciton

This commit is contained in:
Matthias 2022-05-15 01:10:23 +02:00
parent 43179bbfd5
commit 39543555af
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -47,6 +47,9 @@ class ExampleScheduledTaskPluginTests(TestCase):
"""check if a function can be called without errors"""
self.assertEqual(call_function('schedule', 'member_func'), False)
# Check with wrong key
self.assertEqual(call_function('does_not_exsist', 'member_func'), '')
class ScheduledTaskPluginTests(TestCase):
""" Tests for ScheduledTaskPluginTests mixin base """