From 94820d4fbc79f09719b7d0ef92322abec27851b0 Mon Sep 17 00:00:00 2001 From: Dorian Turba <froggit.commit.z3jqj@simplelogin.com> Date: Wed, 23 Aug 2023 15:17:58 +0200 Subject: [PATCH] fix pytest README.md --- templates/python/testing/pytest/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/python/testing/pytest/README.md b/templates/python/testing/pytest/README.md index 4e9065b..8d6004b 100644 --- a/templates/python/testing/pytest/README.md +++ b/templates/python/testing/pytest/README.md @@ -14,12 +14,12 @@ automation, modular fixtures, parameterized testing, and many other features. ## Variables -| Name | Description | Default | -|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------| -| `PROJECT_PATH` | The path to the project root directory. | `"."` | -| `IMAGE_TAG` | The default tag for the docker image. See [Python Docker Official Image](https://hub.docker.com/_/python) for supported tags and respective Dockerfile links | `"latest"` | -| `PYTHON_SETUP` | Bash commands to setup your python environment. Default rely on `pyproject.toml` to install project and test dependencies. | `"pip install .[TESTS]"` | -| `PYTEST_RUN_CMD` | Bash command to run pytest. | `"pytest ${PROJECT_PATH}"` | +| Name | Description | Default | +|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------| +| `PROJECT_PATH` | The path to the project root directory. | `"."` | +| `IMAGE_TAG` | The default tag for the docker image. See [Python Docker Official Image](https://hub.docker.com/_/python) for supported tags and respective Dockerfile links | `"latest"` | +| `PYTHON_SETUP` | Bash commands to setup your python environment. Default rely on `requirements.txt` to install project and test dependencies. | `"pip install -r ${PROJECT_PATH}/requirements.txt"` | +| `PYTEST_RUN_CMD` | Bash command to run pytest. | `"pytest ${PROJECT_PATH}"` | ## Global Configuration of pytest -- GitLab