From d63895d41038d8215cf60fc2a413e6a273fd7589 Mon Sep 17 00:00:00 2001 From: Michael Manganiello Date: Tue, 5 Aug 2025 14:02:47 -0300 Subject: [PATCH] misc: Move pytest.ini to backend directory Moving the `pytest.ini` file simplifies the `pytest` run command, and also correctly mounts the file in the development Docker container. --- .vscode/tasks.json | 2 +- DEVELOPER_SETUP.md | 3 +-- pytest.ini => backend/pytest.ini | 0 3 files changed, 2 insertions(+), 3 deletions(-) rename pytest.ini => backend/pytest.ini (100%) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index f994a3eda..f7eb9700f 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -23,7 +23,7 @@ { "label": "Execute tests", "type": "shell", - "command": "cd backend && uv run pytest -vv -c ../pytest.ini", + "command": "cd backend && uv run pytest -vv", "problemMatcher": [] }, { diff --git a/DEVELOPER_SETUP.md b/DEVELOPER_SETUP.md index a5ad23580..6b0abb8cf 100644 --- a/DEVELOPER_SETUP.md +++ b/DEVELOPER_SETUP.md @@ -185,7 +185,6 @@ cd backend uv run pytest [path/file] # or run the following command to run all tests # the -vv switch increases the verbosity of the output, providing more detailed information during test execution. -# -c specifies the path to a configuration file for pytest. -uv run pytest -vv -c ../pytest.ini +uv run pytest -vv ``` ```` diff --git a/pytest.ini b/backend/pytest.ini similarity index 100% rename from pytest.ini rename to backend/pytest.ini