This commit is contained in:
@@ -25,7 +25,7 @@ class TestDispatcher(unittest.TestCase):
|
|||||||
'param2': 'value2',
|
'param2': 'value2',
|
||||||
'param3': 'value3'
|
'param3': 'value3'
|
||||||
}
|
}
|
||||||
dispatcher.register('name', comparator, action)
|
dispatcher.register('name', comparator1, action)
|
||||||
method = dispatcher(params)
|
method = dispatcher(params)
|
||||||
result = method(params)
|
result = method(params)
|
||||||
self.assertEqual(result, 'value')
|
self.assertEqual(result, 'value')
|
||||||
|
|||||||
Reference in New Issue
Block a user