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