test refactor: ignore code coverage warning

This commit is contained in:
Erik Sundell
2023-06-09 00:42:07 +02:00
parent d1c2e51525
commit ec3ee03dc8

View File

@@ -41,6 +41,9 @@ target_version = [
[tool.pytest.ini_options] [tool.pytest.ini_options]
addopts = "--verbose --color=yes --durations=10 --maxfail=1 --cov=tljh" addopts = "--verbose --color=yes --durations=10 --maxfail=1 --cov=tljh"
asyncio_mode = "auto" asyncio_mode = "auto"
filterwarnings = [
'ignore:.*Module bootstrap was never imported.*:coverage.exceptions.CoverageWarning',
]
# pytest-cov / coverage is used to measure code coverage of tests # pytest-cov / coverage is used to measure code coverage of tests