mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-08 07:03:16 -06:00
1f5d425428
This allows migration of the remote state implementations to a richer experience including input asking.
18 lines
295 B
Go
18 lines
295 B
Go
package remotestate
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/hashicorp/terraform/backend"
|
|
"github.com/hashicorp/terraform/state/remote"
|
|
)
|
|
|
|
func TestClient(t *testing.T, raw backend.Backend) {
|
|
b, ok := raw.(*Backend)
|
|
if !ok {
|
|
t.Fatalf("not Backend: %T", raw)
|
|
}
|
|
|
|
remote.TestClient(t, b.client)
|
|
}
|