We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2642670 commit 7a50320Copy full SHA for 7a50320
extensions/positron-python/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))
extensions/positron-python/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