diff --git a/tests/test_dispatcher.py b/tests/test_dispatcher.py index 21f3495..13395e6 100644 --- a/tests/test_dispatcher.py +++ b/tests/test_dispatcher.py @@ -19,5 +19,7 @@ class TestDispatcher(unittest.TestCase): dispatcher = Dispatcher() params ={'param': True} dispatcher.register('name', comparator, action) - result = dispatcher(params) + method = dispatcher(params) + print(method) + result = method(params) self.assertTrue(result)