databricks-cli/project/config_test.go

15 lines
272 B
Go
Raw Normal View History

2022-05-14 17:55:00 +00:00
package project
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestLoadProjectConf(t *testing.T) {
prj, err := loadProjectConf("./testdata")
2022-05-14 17:55:00 +00:00
assert.NoError(t, err)
assert.Equal(t, "dev", prj.Name)
assert.True(t, prj.IsDevClusterJustReference())
2022-05-16 11:14:27 +00:00
}