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

This commit is contained in:
2026-04-24 20:21:28 +03:00
parent 1082afccce
commit f03c8cc87f
+2 -2
View File
@@ -3,7 +3,7 @@ __email__ = 'remizoffalex@mail.ru'
import unittest
from router.dispatcher import Dispacher
from router.dispatcher import Dispatcher
def comparator(params):
@@ -16,7 +16,7 @@ def action(params):
class TestDispatcher(unittest.TestCase):
def test_dispatcher(self):
dispacher = Dispatcher()
dispatcher = Dispatcher()
params ={'param': True}
dispatcher.register('name', comparator, action)
result = dispatcher(params)