Skip to content

Commit 14b4ee1

Browse files
committed
[GPCAPIM-395]: Update Python environment configuration to enable VSCode test runner to work with latest test env config
- Set default environment manager to pyenv - Ensure environment file is correctly referenced for testing
1 parent fe2f9da commit 14b4ee1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"gitlens.ai.enabled": false,
6767
"python.testing.unittestEnabled": false,
6868
"python.testing.pytestEnabled": true,
69+
"python.envFile": "${workspaceFolder}/.env.test",
6970
"git.enableCommitSigning": true,
7071
"sonarlint.connectedMode.project": {
7172
"connectionId": "nhsdigital",
@@ -107,4 +108,5 @@
107108
"python.analysis.extraPaths": [
108109
"./gateway-api/stubs"
109110
],
111+
"python-envs.defaultEnvManager": "ms-python.python:pyenv",
110112
}

0 commit comments

Comments
 (0)