mirror of https://github.com/databricks/cli.git
16 lines
305 B
Go
16 lines
305 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")
|
||
|
require.NoError(t, err)
|
||
|
assert.Equal(t, Get(ctx).config.Name, "dev")
|
||
|
}
|