fix:pytest
CI / audit (push) Skipped
CI / checks (push) Failing after 3m23s
CI / image (push) Skipped

This commit is contained in:
marco.morath committed 2026-11-25 22:05:37 +01:00
1 parent 22a17bff6f
commit b1531e41e1
1 file changed
+3
+3
View File
@@ -33,6 +33,9 @@ ignore_missing_imports = true
[tool.pytest.ini_options] [tool.pytest.ini_options]
testpaths = ["tests"] testpaths = ["tests"]
# Projektverzeichnis in den Suchpfad, damit "import surveybox" auch mit dem
# Befehl "pytest" (ohne "python -m") funktioniert, etwa in der CI
pythonpath = ["."]
markers = [ markers = [
"db: braucht eine PostgreSQL-Testdatenbank (SURVEYBOX_TEST_DB=1)", "db: braucht eine PostgreSQL-Testdatenbank (SURVEYBOX_TEST_DB=1)",
] ]