* add build tags to all integration tests * fix go sdk imports * make transformation Dirs global
33 lines
733 B
Go
33 lines
733 B
Go
// +build python all
|
|
|
|
package ints
|
|
|
|
import (
|
|
"path/filepath"
|
|
"testing"
|
|
|
|
"github.com/pulumi/pulumi/pkg/v2/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)
|
|
}
|