@@ -19,7 +19,7 @@ import (
1919
2020 "github.com/databricks/cli/cmd/labs/github"
2121 "github.com/databricks/cli/cmd/labs/project"
22- "github.com/databricks/cli/internal"
22+ "github.com/databricks/cli/internal/testcli "
2323 "github.com/databricks/cli/libs/env"
2424 "github.com/databricks/cli/libs/process"
2525 "github.com/databricks/cli/libs/python"
@@ -236,7 +236,7 @@ func TestInstallerWorksForReleases(t *testing.T) {
236236 // │ │ │ └── site-packages
237237 // │ │ │ ├── ...
238238 // │ │ │ ├── distutils-precedence.pth
239- r := internal . NewCobraTestRunnerWithContext (t , ctx , "labs" , "install" , "blueprint" , "--debug" )
239+ r := testcli . NewRunnerWithContext (t , ctx , "labs" , "install" , "blueprint" , "--debug" )
240240 r .RunAndExpectOutput ("setting up important infrastructure" )
241241}
242242
@@ -356,7 +356,7 @@ account_id = abc
356356 // └── databrickslabs-blueprint-releases.json
357357
358358 // `databricks labs install .` means "verify this installer i'm developing does work"
359- r := internal . NewCobraTestRunnerWithContext (t , ctx , "labs" , "install" , "." )
359+ r := testcli . NewRunnerWithContext (t , ctx , "labs" , "install" , "." )
360360 r .WithStdin ()
361361 defer r .CloseStdin ()
362362
@@ -426,7 +426,7 @@ func TestUpgraderWorksForReleases(t *testing.T) {
426426 ctx = env .Set (ctx , "DATABRICKS_CLUSTER_ID" , "installer-cluster" )
427427 ctx = env .Set (ctx , "DATABRICKS_WAREHOUSE_ID" , "installer-warehouse" )
428428
429- r := internal . NewCobraTestRunnerWithContext (t , ctx , "labs" , "upgrade" , "blueprint" )
429+ r := testcli . NewRunnerWithContext (t , ctx , "labs" , "upgrade" , "blueprint" )
430430 r .RunAndExpectOutput ("setting up important infrastructure" )
431431
432432 // Check if the stub was called with the 'python -m pip install' command
0 commit comments