Streamline the "test" session

Rely on pyproject.toml for the `coverage` options,
and shorten the comments.
This commit is contained in:
Alexander Hess 2026-11-27 09:50:31 +01:00
commit 110c6f755b
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -451,10 +451,21 @@ ignore_missing_imports = true
cache_dir = ".cache/pytest"
addopts = "--strict-markers"
testpaths = ["tests"]
# "-ra" => Summarize skipped and `xfailed tests at the end
addopts = "-ra --strict-config --strict-markers"
console_output_style = "count"
xfail_strict = true
required_plugins = [
"pytest-cov",
"pytest-env",
"pytest-mock",
]
env = [
"TESTING=true",
]