You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/products/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,11 +42,11 @@ Returns details on all categories.
42
42
Returns details on the category identified by `{categoryID}`.
43
43
44
44
## Testing
45
-
To run integration tests for the Products service a Python virtual environment is required. You must have Python 3.8+ installed on your system to run the commands below. The commands are written to be ran from the project root.
45
+
To run integration tests for the Products service a Python virtual environment is required. You must have Python 3.8+ installed on your system to run the commands below. The commands are written to be ran from the test directory of the products service (`src/products/test`).
46
46
47
-
The following command will create a virtual environment in the test directory of the products service.
47
+
The following command will create a virtual environment.
48
48
```console
49
-
python3 -m venv src/products/test/.venv
49
+
python3 -m venv .venv
50
50
```
51
51
52
52
Some environment variables are required to run the tests and need to be added to the virtual environment. The example below will work for local development. Change as required depending on environment.
0 commit comments