Skip to content

Commit 192b2e2

Browse files
authored
Failing tests with spaces in path: " Activation Environment" venv tests (#14207)
* Use toCommandArgument() * Run venv tests in PR validation * Add venv to mac stage * Undo pipeline changes * Custom GHA workflow to run venv tests * Move to directory with spaces * Move defaults outside (apply to entire workflow) * mark env variables as env * run tests in working directory * Delete test workflow
1 parent ae84247 commit 192b2e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/common/terminals/environmentActivationProviders/terminalActivation.testvirtualenvs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ suite('Activation of Environments in Terminal', () => {
132132
): Promise<string> {
133133
const terminal = vscode.window.createTerminal();
134134
await sleep(consoleInitWaitMs);
135-
terminal.sendText(`python ${pythonFile} ${logFile}`, true);
135+
terminal.sendText(`python ${pythonFile.toCommandArgument()} ${logFile.toCommandArgument()}`, true);
136136
await waitForCondition(() => fs.pathExists(logFile), logFileCreationWaitMs, `${logFile} file not created.`);
137137

138138
return fs.readFile(logFile, 'utf-8');

0 commit comments

Comments
 (0)