Обновить tests/test_dispatcher.py
Тест / Tester (push) Failing after 2s

This commit is contained in:
2026-04-24 23:02:40 +03:00
parent 982ca84c24
commit 126ed0503d
+2 -2
View File
@@ -35,9 +35,9 @@ class TestDispatcher(unittest.TestCase):
params ={'param': 'value'}
sub = Dispatcher()
sub.register('name', comparator, action)
sub.register('name', comparator2, action)
dispatcher.register('name', comparator, sub)
dispatcher.register('name', comparator1, sub)
method = dispatcher(params)
result = method(params)
sub_result = result(params)