Skip to content

Commit 3b6c47b

Browse files
authored
Pytest to pytest (#22062)
1 parent dfc939b commit 3b6c47b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/client/common/utils/localize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ export namespace Testing {
415415
export const cancelUnittestExecution = l10n.t('Canceled unittest test execution');
416416
export const errorUnittestExecution = l10n.t('Unittest test execution error');
417417
export const cancelPytestExecution = l10n.t('Canceled pytest test execution');
418-
export const errorPytestExecution = l10n.t('Pytest test execution error');
418+
export const errorPytestExecution = l10n.t('pytest test execution error');
419419
}
420420

421421
export namespace OutdatedDebugger {

src/client/testing/testController/common/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export async function startTestIdServer(testIds: string[]): Promise<number> {
211211
}
212212

213213
export function buildErrorNodeOptions(uri: Uri, message: string, testType: string): ErrorTestItemOptions {
214-
const labelText = testType === 'pytest' ? 'Pytest Discovery Error' : 'Unittest Discovery Error';
214+
const labelText = testType === 'pytest' ? 'pytest Discovery Error' : 'Unittest Discovery Error';
215215
return {
216216
id: `DiscoveryError:${uri.fsPath}`,
217217
label: `${labelText} [${path.basename(uri.fsPath)}]`,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export class PytestController implements ITestFrameworkController {
235235
testController.items.add(
236236
createErrorTestItem(testController, {
237237
id: `DiscoveryError:${workspace.uri.fsPath}`,
238-
label: `Pytest Discovery Error [${path.basename(workspace.uri.fsPath)}]`,
238+
label: `pytest Discovery Error [${path.basename(workspace.uri.fsPath)}]`,
239239
error: util.format(
240240
`${cancel} discovering pytest tests (see Output > Python):\r\n`,
241241
message.length > 0 ? message : ex,

0 commit comments

Comments
 (0)