aiogram/tests/test_fsm
JRoot Junior d36a10d428
Fix handler registration order in Scene
Previously, `Scene` handlers were registered based on the sorted output of `inspect.getmembers`, causing incorrect execution order. Now, handlers are registered in the order they are defined in the class, ensuring reliable behavior and proper sequence when handling filters with varying specificity. Added test cases to validate the correct handler ordering.
2025-02-16 23:35:24 +02:00
..
storage Added full support for Bot API 8.0 (#1606) 2024-11-17 23:18:42 +02:00
__init__.py Dev 3.x flat package (#961) 2022-08-14 01:07:52 +03:00
test_context.py Add function get_value to BaseStorage (#1594) 2024-11-02 16:48:01 +02:00
test_scene.py Fix handler registration order in Scene 2025-02-16 23:35:24 +02:00
test_state.py Fix CallbackData without default Optional (#1370) 2023-11-20 22:39:09 +02:00
test_strategy.py Add new FSM strategy CHAT_TOPIC strategy.py (#1344) 2023-10-22 00:41:13 +03:00