Skip to content

Commit

Permalink
unittest discovery errors not displaying
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorjboyd committed Aug 1, 2023
1 parent d9e368f commit ced91fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/testing/testController/common/resultResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class PythonResultResolver implements ITestResultResolver {
// remove error node only if no errors exist.
this.testController.items.delete(`DiscoveryError:${workspacePath}`);
}
if (rawTestData.tests) {
if (rawTestData.tests || rawTestData.tests === null) {
// if any tests exist, they should be populated in the test tree, regardless of whether there were errors or not.
// parse and insert test data.

Expand Down

0 comments on commit ced91fc

Please sign in to comment.