mirror of https://github.com/pulumi/pulumi.git
25 lines
481 B
Go
25 lines
481 B
Go
package python
|
|
|
|
import (
|
|
"path/filepath"
|
|
"testing"
|
|
|
|
"github.com/pulumi/pulumi/pkg/v3/codegen/testing/test"
|
|
)
|
|
|
|
var testdataPath = filepath.Join("..", "testing", "test", "testdata")
|
|
|
|
func TestGenerateProgram(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
test.TestProgramCodegen(t,
|
|
test.ProgramCodegenOptions{
|
|
Language: "python",
|
|
Extension: "py",
|
|
OutputFile: "__main__.py",
|
|
Check: Check,
|
|
GenProgram: GenerateProgram,
|
|
TestCases: test.PulumiPulumiProgramTests,
|
|
})
|
|
}
|