Fix broken test
This commit is contained in:
parent
265acaefe5
commit
95daaa8cec
|
@ -181,7 +181,8 @@ func (host *pythonLanguageHost) Run(ctx context.Context, req *pulumirpc.RunReque
|
|||
}
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf(
|
||||
"Failed to locate any of '%v' on your PATH. Have you installed Python 3.6 or greater?", pythonCmds)
|
||||
"Failed to locate any of %q on your PATH. Have you installed Python 3.6 or greater?",
|
||||
pythonCmds)
|
||||
}
|
||||
|
||||
cmd := exec.Command(pythonPath, args...)
|
||||
|
|
|
@ -1149,8 +1149,8 @@ func TestPython3NotInstalled(t *testing.T) {
|
|||
stderr := &bytes.Buffer{}
|
||||
badPython := "python3000"
|
||||
expectedError := fmt.Sprintf(
|
||||
"error: Failed to locate '%s' on your PATH. Have you installed Python 3.6 or greater?",
|
||||
badPython)
|
||||
"error: Failed to locate any of %q on your PATH. Have you installed Python 3.6 or greater?",
|
||||
[]string{badPython})
|
||||
integration.ProgramTest(t, &integration.ProgramTestOptions{
|
||||
Dir: path.Join("empty", "python"),
|
||||
Dependencies: []string{
|
||||
|
|
Loading…
Reference in a new issue