command: remove more remote package

This commit is contained in:
Mitchell Hashimoto 2015-02-22 10:50:25 -08:00
parent 622690583c
commit b8a66cb6ca
1 changed files with 2 additions and 5 deletions

View File

@ -5,7 +5,6 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"github.com/hashicorp/terraform/remote"
"github.com/hashicorp/terraform/terraform" "github.com/hashicorp/terraform/terraform"
"github.com/mitchellh/cli" "github.com/mitchellh/cli"
) )
@ -175,10 +174,8 @@ func TestInit_remoteState(t *testing.T) {
t.Fatalf("err: %s", err) t.Fatalf("err: %s", err)
} }
path, _ := remote.HiddenStatePath() if _, err := os.Stat(filepath.Join(tmp, DefaultDataDir, DefaultStateFilename)); err != nil {
_, err := os.Stat(path) t.Fatalf("missing state: %s", err)
if err != nil {
t.Fatalf("missing state")
} }
} }