mirror of https://github.com/databricks/cli.git
16 lines
325 B
Go
16 lines
325 B
Go
package project
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestProjectInitialize(t *testing.T) {
|
|
ctx, err := Initialize(context.Background(), "./testdata", defaultEnvironment)
|
|
require.NoError(t, err)
|
|
assert.Equal(t, Get(ctx).config.Name, "dev")
|
|
}
|