databricks-cli/project/config_test.go

15 lines
272 B
Go

package project
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestLoadProjectConf(t *testing.T) {
prj, err := loadProjectConf("./testdata")
assert.NoError(t, err)
assert.Equal(t, "dev", prj.Name)
assert.True(t, prj.IsDevClusterJustReference())
}