diff --git a/.woodpecker/.test.yml b/.woodpecker/.test.yml index 70415e9..244e0e8 100644 --- a/.woodpecker/.test.yml +++ b/.woodpecker/.test.yml @@ -52,7 +52,7 @@ steps: commands: - uv sync --frozen - export PATH=".venv/bin:$PATH" - - pytest src/ + - pytest - name: discord image: appleboy/drone-discord settings: diff --git a/pyproject.toml b/pyproject.toml index f84d3b9..548e714 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,3 +30,5 @@ dependencies = [ [tool.pytest.ini_options] DJANGO_SETTINGS_MODULE = "tests.settings" +testpaths = ["src/tests"] +pythonpath = ["src"] \ No newline at end of file