summaryrefslogtreecommitdiffstats
path: root/client/go/cmd/testutil_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/go/cmd/testutil_test.go')
-rw-r--r--client/go/cmd/testutil_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/client/go/cmd/testutil_test.go b/client/go/cmd/testutil_test.go
index e5c69e38e93..26d0369a215 100644
--- a/client/go/cmd/testutil_test.go
+++ b/client/go/cmd/testutil_test.go
@@ -6,12 +6,10 @@ import (
"path/filepath"
"testing"
- "github.com/spf13/viper"
"github.com/vespa-engine/vespa/client/go/mock"
)
func newTestCLI(t *testing.T, envVars ...string) (*CLI, *bytes.Buffer, *bytes.Buffer) {
- t.Cleanup(viper.Reset)
homeDir := filepath.Join(t.TempDir(), ".vespa")
cacheDir := filepath.Join(t.TempDir(), ".cache", "vespa")
env := []string{"VESPA_CLI_HOME=" + homeDir, "VESPA_CLI_CACHE_DIR=" + cacheDir}