github.com/vic3lord/terraform@v0.8.0-rc1.0.20170626102919-16c6dd2cb372/backend/remote-state/testing.go (about) 1 package remotestate 2 3 import ( 4 "testing" 5 6 "github.com/hashicorp/terraform/backend" 7 "github.com/hashicorp/terraform/state/remote" 8 ) 9 10 func TestClient(t *testing.T, raw backend.Backend) { 11 b, ok := raw.(*Backend) 12 if !ok { 13 t.Fatalf("not Backend: %T", raw) 14 } 15 16 remote.TestClient(t, b.client) 17 }