aiogram/tests
Alex Root Junior 1888039cee
Add serialization utilities and update documentation (#1515)
* Add serialization utilities and update documentation

Introduced utilities to deserialize Telegram objects to JSON-compliant Python objects and vice versa. These utilities manage both cases with and without files. The documentation has been updated to reflect these changes, including updates in migration recommendations and tutorials. A new unit test is added to verify the new functionality.

* Fixed Must-die implementation of the datetime serialization

* Fixed `TypeError: can't subtract offset-naive and offset-aware datetimes`
2024-06-19 00:54:36 +03:00
..
data/locales Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
test_api Added full support of Bot API 7.5 (#1518) 2024-06-19 00:54:22 +03:00
test_dispatcher Bump dev dependencies (#1512) 2024-06-14 20:11:08 +03: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 Fail redis and mongo tests if incorrect URI provided + some storages tests refactoring (#1510) 2024-06-17 00:55:59 +03: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 serialization utilities and update documentation (#1515) 2024-06-19 00:54:36 +03: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 Fail redis and mongo tests if incorrect URI provided + some storages tests refactoring (#1510) 2024-06-17 00:55:59 +03:00
deprecated.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
docker-compose.yml Added MongoStorage for FSM (#1434) 2024-05-07 22:42:31 +03:00
mocked_bot.py "Add get_mounted_bot function and improve model comparison in tests" 2023-07-16 22:46:45 +03:00