aiogram/tests
zemf4you 534221a30a fix: change order of Union types for media properties
The order of Union types for media properties in various files was
reversed to `Union[str, InputFile]` for consistency. The changes were
made in the following files:
- aiogram/types/input_media_video.py
- aiogram/types/input_media_audio.py
- aiogram/types/input_media_document.py
- aiogram/types/input_media_animation.py
- aiogram/types/input_media_photo.py
- aiogram/utils/media_group.py

fix: update type check in base.py for TelegramObject (dev-3)

Replaced BotContextController with TelegramObject in the type check to
ensure proper handling of non-standard objects.

test: add TODO comments in test files (dev-3)

Added TODO comments to highlight parts of the code that need future
improvements in the following test files:
- tests/test_api/test_types/test_input_file.py
- tests/test_api/test_client/test_session/test
2024-05-20 15:55:06 +07:00
..
data/locales Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
test_api fix: change order of Union types for media properties 2024-05-20 15:55:06 +07:00
test_dispatcher Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
test_filters Added full support of Bot API 7.1 (#1417) 2024-02-16 23:44:35 +02:00
test_flags Dev 3.x flat package (#961) 2022-08-14 01:07:52 +03:00
test_fsm PoC Scenes (#1280) 2023-11-23 00:41:21 +02:00
test_handler Removed the use of the context instance (Bot.get_current) from all placements that were used previously. (#1230) 2023-07-28 22:23:32 +03:00
test_issues #1317 Fixed priority of events isolation (#1318) 2023-09-21 22:54:48 +03:00
test_utils Add missing Telegram WebApp API classes and fields (#1424) (#1425) 2024-02-26 02:13:32 +02:00
test_webhook Upgrade to py12 (#1354) 2023-11-18 21:24:19 +02:00
__init__.py Update tests and small refactoring 2019-11-16 22:32:26 +02:00
conftest.py Fixed ResourceWarnings in tests (#1366) 2023-11-16 02:08:36 +02:00
deprecated.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
docker-compose.yml Backport and improvements (#601) 2021-06-15 01:45:31 +03:00
mocked_bot.py refactor(types): unify InputFile with str in media types (dev-3.x) 2024-05-20 09:33:16 +07:00