Skip to content

Commit

Permalink
Change pytest settings
Browse files Browse the repository at this point in the history
- Use the 'prepend' import mode
- Show all test statuses, save passed tests
- Set log level to INFO
  • Loading branch information
AA-Turner committed Jan 14, 2024
1 parent 5073c29 commit 1347031
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -210,6 +211,7 @@ filterwarnings = [
"ignore::DeprecationWarning:pyximport.pyximport",
"ignore::ImportWarning:importlib._bootstrap",
]
log_cli_level = "INFO"
markers = [
"apidoc",
]
Expand Down

0 comments on commit 1347031

Please sign in to comment.