This commit is contained in:
@@ -20,6 +20,8 @@ class TestDispatcher(unittest.TestCase):
|
||||
params ={'param': 'value'}
|
||||
dispatcher.register('name', comparator, action)
|
||||
method = dispatcher(params)
|
||||
print(method)
|
||||
result = method(params)
|
||||
self.assertEqual(result, 'value')
|
||||
|
||||
def test_sub(self):
|
||||
pass
|
||||
Reference in New Issue
Block a user