-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Failing tests with spaces in path: " Activation Environment" venv tests #14207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing tests with spaces in path: " Activation Environment" venv tests #14207
Conversation
Codecov Report
@@ Coverage Diff @@
## main #14207 +/- ##
==========================================
- Coverage 59.96% 59.95% -0.01%
==========================================
Files 706 706
Lines 39182 39182
Branches 5683 5683
==========================================
- Hits 23494 23493 -1
- Misses 14451 14452 +1
Partials 1237 1237
Continue to review full report at Codecov.
|
|
@@ -132,7 +132,7 @@ suite('Activation of Environments in Terminal', () => { | |||
): Promise<string> { | |||
const terminal = vscode.window.createTerminal(); | |||
await sleep(consoleInitWaitMs); | |||
terminal.sendText(`python ${pythonFile} ${logFile}`, true); | |||
terminal.sendText(`python ${pythonFile.toCommandArgument()} ${logFile.toCommandArgument()}`, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simple quoting works too
terminal.sendText(`python ${pythonFile.toCommandArgument()} ${logFile.toCommandArgument()}`, true); | |
terminal.sendText(`python '${pythonFile}' '${logFile}'`, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toCommandArgument()
is better. When we do the shell work it will be easier to find these.
Kudos, SonarCloud Quality Gate passed!
|
For #14163
package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed).