aiogram/tests
Alex Root Junior 04bd0c9e7c
Fixed error overlapping when validation error is caused by remove_unset root validator in base types and methods. (#1290)
* Ensure base type validation can handle non-dictionary values

The update introduces a condition to verify whether the values being validated are a dictionary before attempting to handle UNSET_TYPE in the aiogram base type. This adjustment helps to prevent potential errors or incorrect validation when non-dictionary values are faced.

* Added a test case for non-dictionary input in remove_unset method

* Added changelog

* Fixed tests
2023-08-29 02:01:54 +03:00
..
data/locales Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
test_api Fixed error overlapping when validation error is caused by remove_unset root validator in base types and methods. (#1290) 2023-08-29 02:01:54 +03:00
test_dispatcher Reformat code 2023-08-26 22:34:30 +03:00
test_filters Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
test_flags Dev 3.x flat package (#961) 2022-08-14 01:07:52 +03:00
test_fsm #1186 Renamed USER_IN_THREAD to USER_IN_TOPIC 2023-07-01 21:53:34 +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 Added test that prove previous fix 2023-07-16 22:49:18 +03:00
test_utils #1281 Fix magic operation .as_ for values interpreted as False (#1283) 2023-08-26 22:33:32 +03:00
test_webhook parameter secret_token (#1173) 2023-06-25 00:40:04 +03:00
__init__.py Update tests and small refactoring 2019-11-16 22:32:26 +02:00
conftest.py 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
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 "Add get_mounted_bot function and improve model comparison in tests" 2023-07-16 22:46:45 +03:00