aiogram/tests/test_api
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
..
test_client Reworked InputFile sending (#1238) 2023-08-02 21:41:07 +03:00
test_methods 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_types Fix Message.send_copy method for stories (#1287) 2023-08-28 22:32:11 +03:00
__init__.py Add tests for BaseSession and TelegramAPIServer 2019-11-16 00:52:18 +02:00