aiogram/tests/test_api/test_client
Alex Root Junior 0c9eeda8a7
Fixed poll answer FSM context (#1436)
* Add voter_chat to poll_answer event handling

The change ensures that when a poll_answer event is processed, the user context middleware now also returns the chat where the vote took place. Previously, only the user who cast the vote was returned.

* Added changelog

* Fixed tests

* Bump Python version in test
2024-03-10 16:18:41 +02:00
..
test_session Fixed default LinkPreviewOptions JSON serialization (#1419) 2024-02-17 10:10:50 +02:00
__init__.py Add tests for BaseSession and TelegramAPIServer 2019-11-16 00:52:18 +02:00
test_api_server.py Rework session DI and files path wrapper 2021-12-12 18:15:36 +02:00
test_bot.py Fixed poll answer FSM context (#1436) 2024-03-10 16:18:41 +02:00
test_context_controller.py PoC: Bot instance inside method shortcuts using pydantic Validation Context (#1210) 2023-07-11 23:17:26 +03:00
test_default.py Fixed poll answer FSM context (#1436) 2024-03-10 16:18:41 +02:00