2019-10-18 23:47:02 +00:00
|
|
|
Description: Skip TestClient in modules/client_test.go
|
|
|
|
TestClient requires network access which is not allowed for Debian packaging.
|
|
|
|
Author: Anthony Fok <foka@debian.org>
|
|
|
|
Origin: vendor
|
|
|
|
Forwarded: not-needed
|
|
|
|
Last-Update: 2019-08-04
|
|
|
|
---
|
|
|
|
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|
|
|
--- a/modules/client_test.go
|
|
|
|
+++ b/modules/client_test.go
|
2021-01-19 16:11:54 +00:00
|
|
|
@@ -30,6 +30,7 @@ import (
|
2019-10-18 23:47:02 +00:00
|
|
|
)
|
2021-01-19 16:11:54 +00:00
|
|
|
|
2019-10-18 23:47:02 +00:00
|
|
|
func TestClient(t *testing.T) {
|
2020-09-18 04:30:52 +00:00
|
|
|
+ t.Skip("skip test as network access is not allowed during package build")
|
|
|
|
modName := "hugo-modules-basic-test"
|
|
|
|
modPath := "github.com/gohugoio/tests/" + modName
|
|
|
|
expect := `github.com/gohugoio/tests/hugo-modules-basic-test github.com/gohugoio/hugoTestModules1_darwin/modh2_2@v1.4.0
|