mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
test refactor: ignore code coverage warning
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user