fix:pytest
This commit is contained in:
1 parent
22a17bff6f
commit
b1531e41e1
1 file changed
+3
@@ -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)",
|
||||||
]
|
]
|
||||||
Reference in new issue
Block a user