This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user