aiogram/tests/test_api/test_client
Alex Root Junior 3ad5ed6bc2
Fixed ResourceWarnings in tests (#1366)
* #1320 Update pytest configuration and tests cleanup

This commit modifies the pytest's configuration file, `pyproject.toml`, to remove filterwarnings settings. It also makes changes in various test files; the Redis isolation test is now using the provided `redis_storage` fixture instead of setting up its own connection, pytest.mark.filterwarnings is no longer used in `test_isolation.py` and `test_aiohttp_session.py` properly closes off sessions.

* Added changelog

* Fixed coverage for the RedisEventIsolation
2023-11-16 02:08:36 +02:00
..
test_session Fixed ResourceWarnings in tests (#1366) 2023-11-16 02:08:36 +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 Handle expected warnings & raise unexpected warnings (#1315) 2023-10-01 15:28:54 +03:00
test_context_controller.py PoC: Bot instance inside method shortcuts using pydantic Validation Context (#1210) 2023-07-11 23:17:26 +03:00