@@ -195,21 +195,23 @@ VS Code will automatically use the `backend` environment when you're editing a f
195195Depending on your existing setup VS Code might automatically choose the wrong virtualenvs. Change it
196196with `Python: Select Interpreter`.
197197
198- The root (`immunisation-fhir-api`) should point to the root .venv, `/mnt/d/Source/immunisation-fhir-api/.venv/bin/python`.
198+ The root (`immunisation-fhir-api`) should point to the root .venv, e.g. `/mnt/d/Source/immunisation-fhir-api/.venv/bin/python`.
199199
200- Meanwhile, `backend` should be pointing at `/mnt/d/Source/immunisation-fhir-api/backend/.venv/bin/python`
200+ Meanwhile, `backend` should be pointing at (e.g.) `/mnt/d/Source/immunisation-fhir-api/backend/.venv/bin/python`
201201
202202#### Running Unit Tests
203203
204204In order that VSCode can resolve modules in unit tests, it needs the PYTHONPATH. This should be setup in `backend/.vscode/launch.json` (see above).
205205
206- *NOTE:* In order to run unit test suites, you may need to manually switch to the correct virtual environment each time you wish to
206+ ** NOTE:* * In order to run unit test suites, you may need to manually switch to the correct virtual environment each time you wish to
207207run a different set of tests. To do this:
208208- Show and Run Commands (Ctrl-Shift-P on Windows)
209- -> Python: Create Environment
210- -> Venv
211- -> Select the venv named for the test suite you wish to run, e.g. `backend`
212- -> Use Existing
209+ - Python: Create Environment
210+ - Venv
211+ - Select the .venv named for the test suite you wish to run, e.g. `backend`
212+ - Use Existing
213+ VSCode should display a toast saying that the following environment is selected:
214+ - (e.g.) `/mnt/d/Source/immunisation-fhir-api/backend/.venv/bin/python`
213215
214216### IntelliJ
215217
0 commit comments