go-build/cmd/build/cmd_project_test.go
Virgil 0beac61805 feat(build): add python project builder
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 11:31:10 +00:00

18 lines
442 B
Go

package buildcmd
import (
"testing"
"dappco.re/go/core/build/pkg/build"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestBuildCmd_GetBuilder_Good(t *testing.T) {
t.Run("returns Python builder for python project type", func(t *testing.T) {
builder, err := getBuilder(build.ProjectTypePython)
require.NoError(t, err)
assert.NotNil(t, builder)
assert.Equal(t, "python", builder.Name())
})
}