From 40317f795ebdd0bf3751b62cd4837c11e15634dd Mon Sep 17 00:00:00 2001 From: RemiZOffAlex Date: Fri, 24 Apr 2026 22:18:08 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20tests/test=5Fdispatcher.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_dispatcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_dispatcher.py b/tests/test_dispatcher.py index 13395e6..c48d9b6 100644 --- a/tests/test_dispatcher.py +++ b/tests/test_dispatcher.py @@ -17,9 +17,9 @@ def action(params): class TestDispatcher(unittest.TestCase): def test_dispatcher(self): dispatcher = Dispatcher() - params ={'param': True} + params ={'param': 'value'} dispatcher.register('name', comparator, action) method = dispatcher(params) print(method) result = method(params) - self.assertTrue(result) + self.assertEqual(result, 'value')