github.com/databricks/cli@v0.203.0/bundle/tests/environment_overrides_test.go (about) 1 package config_tests 2 3 import ( 4 "testing" 5 6 "github.com/stretchr/testify/assert" 7 ) 8 9 func TestEnvironmentOverridesDev(t *testing.T) { 10 b := loadEnvironment(t, "./environment_overrides", "development") 11 assert.Equal(t, "https://development.acme.cloud.databricks.com/", b.Config.Workspace.Host) 12 } 13 14 func TestEnvironmentOverridesStaging(t *testing.T) { 15 b := loadEnvironment(t, "./environment_overrides", "staging") 16 assert.Equal(t, "https://staging.acme.cloud.databricks.com/", b.Config.Workspace.Host) 17 }