databricks-cli/cmd/sync/sync_test.go

16 lines
296 B
Go
Raw Normal View History

2022-07-07 18:56:59 +00:00
package sync
import (
"context"
"testing"
"github.com/databricks/bricks/cmd/root"
"github.com/stretchr/testify/assert"
)
func TestItSyncs(t *testing.T) {
ctx := context.Background()
root.RootCmd.SetArgs([]string{"sync"})
err := root.RootCmd.ExecuteContext(ctx)
assert.NoError(t, err)
}