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

This commit is contained in:
2026-04-24 22:16:36 +03:00
parent f03c8cc87f
commit 84b5bb72a4
+3 -1
View File
@@ -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)