Merge pull request 'pytest: improve logging a bit' (#4180) from pytest-logs into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4180
This commit is contained in:
@@ -34,8 +34,9 @@ clan_lib = [
|
|||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
testpaths = ["tests", "clan_cli", "clan_lib"]
|
testpaths = ["tests", "clan_cli", "clan_lib"]
|
||||||
faulthandler_timeout = 240
|
faulthandler_timeout = 240
|
||||||
log_level = "DEBUG"
|
log_cli = true
|
||||||
log_format = "%(message)s"
|
log_cli_level = "DEBUG"
|
||||||
|
log_cli_format = "%(message)s"
|
||||||
addopts = "--durations 5 --color=yes --new-first -W error -n auto" # Add --pdb for debugging
|
addopts = "--durations 5 --color=yes --new-first -W error -n auto" # Add --pdb for debugging
|
||||||
norecursedirs = ["clan_cli/tests/helpers", "clan_lib/nixpkgs"]
|
norecursedirs = ["clan_cli/tests/helpers", "clan_lib/nixpkgs"]
|
||||||
# All tests which evaluate any nix library code from clan-core need to use the
|
# All tests which evaluate any nix library code from clan-core need to use the
|
||||||
|
|||||||
Reference in New Issue
Block a user