Skip to content

Commit 1e09f3a

Browse files
authored
Fix for buttons not showing up for test items. (#17402)
1 parent 5687c84 commit 1e09f3a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

news/2 Fixes/17378.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix for missing buttons for tests when using multiple test folders.

src/client/testing/testController/pytest/pytestController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class PytestController implements ITestFrameworkController {
115115
subRootItem,
116116
testController,
117117
this.idToRawData,
118-
subRootItem.id,
118+
root, // All the file paths are based on workspace root.
119119
[data],
120120
);
121121
} else {

0 commit comments

Comments
 (0)