Change pytest settings

- Use the 'prepend' import mode
- Show all test statuses, save passed tests
- Set log level to INFO
This commit is contained in:
Adam Turner 2024-01-14 04:38:57 +00:00
parent 5073c29637
commit 134703192d

View File

@ -198,7 +198,8 @@ disallow_any_generics = false
[tool.pytest.ini_options]
minversion = 6.0
addopts = [
"--import-mode=importlib",
"-ra",
"--import-mode=prepend",
# "--pythonwarnings=error",
"--strict-config",
"--strict-markers",
@ -210,6 +211,7 @@ filterwarnings = [
"ignore::DeprecationWarning:pyximport.pyximport",
"ignore::ImportWarning:importlib._bootstrap",
]
log_cli_level = "INFO"
markers = [
"apidoc",
]