File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/client/testing/testController/common Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ import { PytestTestExecutionAdapter } from '../pytest/pytestExecutionAdapter';
1515/**
1616 * Separator used to scope test IDs to a specific project.
1717 * Format: {projectId}{SEPARATOR}{testPath}
18- * Example: "file:///workspace/project|| test_file.py::test_name"
18+ * Example: "file:///workspace/project@@PROJECT@@ test_file.py::test_name"
1919 */
20- export const PROJECT_ID_SEPARATOR = '|| ' ;
20+ export const PROJECT_ID_SEPARATOR = '@@vsc@@ ' ;
2121
2222/**
2323 * Gets the project ID from a project URI.
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ export class TestProjectRegistry {
173173 * Creates a ProjectAdapter from a PythonProject.
174174 */
175175 private async createProjectAdapter ( pythonProject : PythonProject , workspaceUri : Uri ) : Promise < ProjectAdapter > {
176- const projectId = pythonProject . uri . fsPath ;
176+ const projectId = getProjectId ( pythonProject . uri ) ;
177177 traceInfo ( `[test-by-project] Creating adapter for: ${ pythonProject . name } at ${ projectId } ` ) ;
178178
179179 // Resolve Python environment
You can’t perform that action at this time.
0 commit comments