vars+facts: use bwrap only if supported

This commit is contained in:
DavHau
2025-03-09 13:52:15 +07:00
parent d266e749a8
commit db2e2e974c
5 changed files with 65 additions and 4 deletions

View File

@@ -28,12 +28,12 @@ clan_cli = [
]
[tool.pytest.ini_options]
testpaths = "tests"
testpaths = ["tests", "clan_cli"]
faulthandler_timeout = 60
log_level = "DEBUG"
log_format = "%(message)s"
addopts = "--cov . --cov-report term --cov-report html:.reports/html --no-cov-on-fail --durations 5 --color=yes --new-first -W error -n auto" # Add --pdb for debugging
norecursedirs = "tests/helpers"
norecursedirs = ["clan_cli/tests/helpers", "clan_cli/nixpkgs"]
markers = ["impure", "with_core"]
filterwarnings = "default::ResourceWarning"