#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.
This commit is contained in:
JRoot Junior 2023-11-16 01:47:23 +02:00
parent 9a2a72fe97
commit cda4a635b1
No known key found for this signature in database
GPG key ID: 738964250D5FF6E2
4 changed files with 9 additions and 20 deletions

View file

@ -237,10 +237,9 @@ asyncio_mode = "auto"
testpaths = [
"tests",
]
filterwarnings = [
"error",
"ignore::pytest.PytestUnraisableExceptionWarning",
]
#filterwarnings = [
# "error",
#]
[tool.coverage.run]
branch = false