Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions news/3 Code Health/10919.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fixed typo from unitest -> unittest.
(thanks [Rameez Khan](https://github.com/Rxmeez)).
132 changes: 66 additions & 66 deletions src/test/.vscode/tags

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/test/testing/common/trackEnablement.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ suite('Unit Tests - Track Enablement', () => {
assert.ok(telemetryReporter.notCalled);
assert.ok(affectsConfiguration.callCount > 0);
});
test('Check whether unitest, pytest and nose settings have been enabled', async () => {
test('Check whether unittest, pytest and nose settings have been enabled', async () => {
const expectedSettingsChecked = [
'python.testing.nosetestEnabled',
'python.testing.unittestEnabled',
Expand Down Expand Up @@ -97,7 +97,7 @@ suite('Unit Tests - Track Enablement', () => {
];
assert.deepEqual(settingsChecked.sort(), expectedSettingsChecked.sort());
});
test('Check settings related to unitest, pytest and nose', async () => {
test('Check settings related to unittest, pytest and nose', async () => {
const expectedSettingsChecked = [
'python.testing.nosetestEnabled',
'python.testing.unittestEnabled',
Expand Down Expand Up @@ -188,7 +188,7 @@ suite('Unit Tests - Track Enablement', () => {
];
assert.deepEqual(settingsRetrieved.sort(), expectedSettingsRetrieved.sort());
}
test('Send telemetry for unitest', () => testSendingTelemetry('unittest'));
test('Send telemetry for unittest', () => testSendingTelemetry('unittest'));
test('Send telemetry for pytest', () => testSendingTelemetry('pytest'));
test('Send telemetry for nosetest', () => testSendingTelemetry('nosetest'));
});
4 changes: 2 additions & 2 deletions src/test/testing/pytest/pytest.discovery.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const UNITTEST_TEST_FILES_PATH_WITH_CONFIGS = path.join(
'test',
'pythonFiles',
'testFiles',
'unitestsWithConfigs'
'unittestsWithConfigs'
);
const unitTestTestFilesCwdPath = path.join(EXTENSION_ROOT_DIR, 'src', 'test', 'pythonFiles', 'testFiles', 'cwd', 'src');

Expand Down Expand Up @@ -781,7 +781,7 @@ suite('Unit Tests - pytest - discovery with mocked process output', () => {
{
rootid: '.',
root:
'/Users/donjayamanne/.vscode-insiders/extensions/pythonVSCode/src/test/pythonFiles/testFiles/unitestsWithConfigs',
'/Users/donjayamanne/.vscode-insiders/extensions/pythonVSCode/src/test/pythonFiles/testFiles/unittestsWithConfigs',
parents: [
{
id: './other',
Expand Down