aiogram/tests/test_api/test_client/test_session
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_middlewares Remove warnings about pytest asyncio mode 2022-12-30 16:10:06 +02:00
__init__.py Update tests and small refactoring 2019-11-16 22:32:26 +02:00
test_aiohttp_session.py Fixed ResourceWarnings in tests (#1366) 2023-11-16 02:08:36 +02:00
test_base_session.py PoC: Bot instance inside method shortcuts using pydantic Validation Context (#1210) 2023-07-11 23:17:26 +03:00