Python-test
Advanced tools
@@ -89,3 +89,3 @@ "use strict"; | ||
| if (httpResponse != undefined && httpResponse != null && | ||
| httpResponse.data !== null && httpResponse.data != null) { | ||
| httpResponse.data != null && httpResponse.data != undefined) { | ||
| intern_constants_js_1.InternConstants.setLastCommitSha((_a = httpResponse.data) === null || _a === void 0 ? void 0 : _a.lastCommitSha); | ||
@@ -92,0 +92,0 @@ if (((_b = httpResponse.data.batchCloudLabEnvs) === null || _b === void 0 ? void 0 : _b.length) > 0) { |
@@ -259,2 +259,6 @@ "use strict"; | ||
| } | ||
| if (testCaseNodes.length != counts.total && counts.total == 0 && testCaseNodes.length > 1) { | ||
| counts.total = testCaseNodes.length; | ||
| counts.errored = testCaseNodes.length; | ||
| } | ||
| runInstance.appendOutput(`Total number of tests expected to run: ${testCaseNodes.length}\r\n`); | ||
@@ -261,0 +265,0 @@ runInstance.appendOutput(`Total number of tests run: ${counts.total}\r\n`); |
@@ -127,3 +127,3 @@ "use strict"; | ||
| let errorNode = testController.items.get(`DiscoveryError:${workspace.uri.fsPath}`); | ||
| const message = util.format('Error discovering unittest tests (see Output > Python):\r\n', exceptions.join('\r\n\r\n')); | ||
| const errorNodeLabel = new vscode_1.MarkdownString(`[Show output](command:python.viewOutput) to view error logs`); | ||
| if (errorNode === undefined) { | ||
@@ -133,3 +133,3 @@ errorNode = (0, testItemUtilities_1.createErrorTestItem)(testController, { | ||
| label: `Unittest Discovery Error [${path.basename(workspace.uri.fsPath)}]`, | ||
| error: message, | ||
| error: errorNodeLabel, | ||
| }); | ||
@@ -139,3 +139,3 @@ errorNode.canResolveChildren = false; | ||
| } | ||
| errorNode.error = message; | ||
| errorNode.error = errorNodeLabel; | ||
| } | ||
@@ -142,0 +142,0 @@ deferred.resolve(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display