aiogram/tests/test_dispatcher
Alex Root Junior 62d4b9014c
Fix bot instance passing in Dispatcher startup (#1247)
Modified the Dispatcher to remove the "bot" key from workflow_data if found, prior to emitting startup in order to allow manual addition of "bot" to workflow data. This change was necessary as a bot instance is required to start polling, and therefore must be passed correctly. This logic is now tested in the 'test_start_polling' function. The change also includes an update to the changelog.
2023-08-06 01:14:26 +03:00
..
test_event Bump dependencies 2023-02-12 01:24:18 +02:00
test_middlewares Forum topic in FSM (#1161) 2023-04-22 19:35:41 +03:00
__init__.py Add tests for handler 2019-11-24 00:17:21 +02:00
test_dispatcher.py Fix bot instance passing in Dispatcher startup (#1247) 2023-08-06 01:14:26 +03:00
test_router.py skip if current router does not have observer for custom event (#1147) 2023-04-08 17:39:48 +03:00