diff --git a/pyproject.toml b/pyproject.toml index 9b9a240..bcf7503 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,6 +33,9 @@ ignore_missing_imports = true [tool.pytest.ini_options] testpaths = ["tests"] +# Projektverzeichnis in den Suchpfad, damit "import surveybox" auch mit dem +# Befehl "pytest" (ohne "python -m") funktioniert, etwa in der CI +pythonpath = ["."] markers = [ "db: braucht eine PostgreSQL-Testdatenbank (SURVEYBOX_TEST_DB=1)", ]