aiogram/tests/test_api/test_client/test_session
Oleg A eacea996d4
Handle expected warnings & raise unexpected warnings (#1315)
* chore: replace fixture loop with event_loop

* chore: mark expected warnings

* chore: raise unexpected warnings

* chore: rm unused record

* fix: rm parenthesized context manager

* chore: warnings shall not pass

* chore: replace fixture loop with event_loop

* chore: mark expected warnings

* chore: raise unexpected warnings

* chore: rm unused record

* fix: rm parenthesized context manager

* chore: warnings shall not pass

* Revert "chore: raise unexpected warnings"

This reverts commit 4c91df243d.

* chore: warnings shall not pass v2

* fix: graceful aiohttp session close

* chore: minor typo

* chore: mark expected warnings

* fix: temporary mute ResourceWarning

#1320

* fix: close pool with redis

* chore: code reformat and lint

* chore: simplify tests with fixture

* chore: make aresponses clear

* chore: divide asserts with blank line

* chore: rm duplicated assertions

* chore: rm unnecessary extra

* chore: bump test dependencies

* chore: bump test dependencies (fix)
2023-10-01 15:28:54 +03: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 Handle expected warnings & raise unexpected warnings (#1315) 2023-10-01 15:28:54 +03:00
test_base_session.py PoC: Bot instance inside method shortcuts using pydantic Validation Context (#1210) 2023-07-11 23:17:26 +03:00