flag off registry ACC test

Was missing the TF_ACC check
This commit is contained in:
James Bardin 2017-10-27 08:57:06 -04:00
parent 1756b3d09f
commit 6c808347d7
1 changed files with 5 additions and 3 deletions

View File

@ -6,6 +6,7 @@ import (
"net/http"
"net/http/httptest"
"net/url"
"os"
"testing"
"time"
@ -108,9 +109,10 @@ func TestLookupModuleVersions(t *testing.T) {
}
}
func TestACCLookupModuleVersions(t *testing.T) {
server := mockTLSRegistry()
defer server.Close()
func TestAccLookupModuleVersions(t *testing.T) {
if os.Getenv("TF_ACC") == "" {
t.Skip()
}
regDisco := disco.NewDisco()
// test with and without a hostname