We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4644dc commit f18ee60Copy full SHA for f18ee60
2 files changed
news/2 Fixes/17546.md
@@ -0,0 +1,2 @@
1
+Fix for `pytest` run all tests when using `pytest.ini` and `cwd`.
2
+(thanks [Brian Rutledge](https://github.com/bhrutledge))
src/client/testing/testController/pytest/runner.ts
@@ -97,7 +97,7 @@ export class PytestRunner implements ITestsRunner {
97
if (!rawData) {
98
throw new Error(`Trying to run unknown node: ${testNode.id}`);
99
}
100
- if (testNode.id !== options.workspaceFolder.fsPath) {
+ if (testNode.id !== options.cwd) {
101
testArgs.push(rawData.rawId);
102
103
0 commit comments