2018-11-15 20:26:46 +01:00
|
|
|
package remote
|
|
|
|
|
|
|
|
import (
|
|
|
|
"flag"
|
|
|
|
"os"
|
|
|
|
"testing"
|
|
|
|
|
2020-10-18 16:01:48 +02:00
|
|
|
_ "github.com/hashicorp/terraform/internal/logging"
|
2018-11-15 20:26:46 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestMain(m *testing.M) {
|
|
|
|
flag.Parse()
|
|
|
|
|
|
|
|
// Make sure TF_FORCE_LOCAL_BACKEND is unset
|
|
|
|
os.Unsetenv("TF_FORCE_LOCAL_BACKEND")
|
|
|
|
|
|
|
|
os.Exit(m.Run())
|
|
|
|
}
|