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