Skip to content

Commit d7eac59

Browse files
authored
Move integration test helpers to integration/internal (#2022)
## Changes The `acc` package is exclusively used by integration tests, so it belongs under `integration/internal`. It's not the best name we can rename later. ## Tests n/a
1 parent e60fe1b commit d7eac59

36 files changed

+33
-33
lines changed

integration/assumptions/dashboard_assumptions_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/base64"
55
"testing"
66

7-
"github.com/databricks/cli/internal/acc"
7+
"github.com/databricks/cli/integration/internal/acc"
88
"github.com/databricks/cli/internal/testutil"
99
"github.com/databricks/cli/libs/dyn"
1010
"github.com/databricks/cli/libs/dyn/convert"

integration/bundle/artifacts_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/databricks/cli/bundle/config"
1313
"github.com/databricks/cli/bundle/config/resources"
1414
"github.com/databricks/cli/bundle/libraries"
15-
"github.com/databricks/cli/internal/acc"
15+
"github.com/databricks/cli/integration/internal/acc"
1616
"github.com/databricks/cli/internal/testcli"
1717
"github.com/databricks/cli/internal/testutil"
1818
"github.com/databricks/cli/libs/env"

integration/bundle/basic_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"path/filepath"
66
"testing"
77

8-
"github.com/databricks/cli/internal/acc"
8+
"github.com/databricks/cli/integration/internal/acc"
99
"github.com/databricks/cli/internal/testutil"
1010
"github.com/google/uuid"
1111
"github.com/stretchr/testify/require"

integration/bundle/bind_resource_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"path/filepath"
77
"testing"
88

9-
"github.com/databricks/cli/internal/acc"
9+
"github.com/databricks/cli/integration/internal/acc"
1010
"github.com/databricks/cli/internal/testcli"
1111
"github.com/databricks/cli/internal/testutil"
1212
"github.com/databricks/cli/libs/env"

integration/bundle/clusters_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"testing"
66

7-
"github.com/databricks/cli/internal/acc"
7+
"github.com/databricks/cli/integration/internal/acc"
88
"github.com/databricks/cli/internal/testutil"
99
"github.com/databricks/databricks-sdk-go/service/compute"
1010
"github.com/google/uuid"

integration/bundle/dashboards_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"testing"
66

7-
"github.com/databricks/cli/internal/acc"
7+
"github.com/databricks/cli/integration/internal/acc"
88
"github.com/databricks/cli/internal/testutil"
99
"github.com/databricks/databricks-sdk-go/service/dashboards"
1010
"github.com/databricks/databricks-sdk-go/service/workspace"

integration/bundle/deploy_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"testing"
1212

1313
"github.com/databricks/cli/cmd/root"
14-
"github.com/databricks/cli/internal/acc"
14+
"github.com/databricks/cli/integration/internal/acc"
1515
"github.com/databricks/cli/internal/testcli"
1616
"github.com/databricks/cli/internal/testutil"
1717
"github.com/databricks/cli/libs/env"

integration/bundle/deploy_then_remove_resources_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"path/filepath"
66
"testing"
77

8-
"github.com/databricks/cli/internal/acc"
8+
"github.com/databricks/cli/integration/internal/acc"
99
"github.com/databricks/cli/internal/testutil"
1010
"github.com/google/uuid"
1111
"github.com/stretchr/testify/assert"

integration/bundle/deploy_to_shared_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"testing"
66

7-
"github.com/databricks/cli/internal/acc"
7+
"github.com/databricks/cli/integration/internal/acc"
88
"github.com/databricks/cli/internal/testutil"
99
"github.com/google/uuid"
1010
"github.com/stretchr/testify/require"

integration/bundle/deployment_state_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"testing"
88

99
"github.com/databricks/cli/bundle/deploy"
10-
"github.com/databricks/cli/internal/acc"
10+
"github.com/databricks/cli/integration/internal/acc"
1111
"github.com/databricks/cli/internal/testutil"
1212
"github.com/databricks/cli/libs/env"
1313
"github.com/google/uuid"

0 commit comments

Comments
 (0)