pulumi/tests/integration/custom_timeouts/custom_timeouts_test.go
Lee Zen 33b232adc4
Fix a regression for CustomTimeouts in Python SDK (#3964)
* Fix a regression for CustomTimeouts in Python SDK
* Accept dict as well as CustomTimeouts object
2020-02-22 19:32:06 -08:00

32 lines
708 B
Go

package ints
import (
"path/filepath"
"testing"
"github.com/pulumi/pulumi/pkg/testing/integration"
)
func TestCustomTimeouts(t *testing.T) {
opts := &integration.ProgramTestOptions{
Dir: filepath.Join(".", "python", "success"),
Dependencies: []string{
filepath.Join("..", "..", "..", "sdk", "python", "env", "src"),
},
Quick: true,
NoParallel: true,
}
integration.ProgramTest(t, opts)
opts = &integration.ProgramTestOptions{
Dir: filepath.Join(".", "python", "failure"),
Dependencies: []string{
filepath.Join("..", "..", "..", "sdk", "python", "env", "src"),
},
Quick: true,
NoParallel: true,
ExpectFailure: true,
}
integration.ProgramTest(t, opts)
}