1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
From: "Dr. Tobias Quathamer" <toddy@debian.org>
Date: Fri, 26 Sep 2025 22:37:52 +0200
Subject: Skip tests which needs internet access
Forwarded: not-needed
---
internal/js/esbuild/batch_integration_test.go | 1 +
modules/modules_integration_test.go | 1 +
resources/resource_factories/create/create_integration_test.go | 2 ++
resources/resource_transformers/cssjs/tailwindcss_integration_test.go | 1 +
4 files changed, 5 insertions(+)
diff --git a/internal/js/esbuild/batch_integration_test.go b/internal/js/esbuild/batch_integration_test.go
index b4a2454..4bea4ba 100644
--- a/internal/js/esbuild/batch_integration_test.go
+++ b/internal/js/esbuild/batch_integration_test.go
@@ -428,6 +428,7 @@ func TestBatchErrorScriptResourceInBundleSyntaxError(t *testing.T) {
}
func TestBatch(t *testing.T) {
+ t.Skip("This tests needs npm with internet access")
files := `
-- hugo.toml --
disableKinds = ["taxonomy", "term"]
diff --git a/modules/modules_integration_test.go b/modules/modules_integration_test.go
index 6f09a35..1b8aa60 100644
--- a/modules/modules_integration_test.go
+++ b/modules/modules_integration_test.go
@@ -20,6 +20,7 @@ import (
)
func TestModuleImportWithVersion(t *testing.T) {
+ t.Skip("This tests needs internet access")
t.Parallel()
files := `
diff --git a/resources/resource_factories/create/create_integration_test.go b/resources/resource_factories/create/create_integration_test.go
index 40ebbc7..648fe8c 100644
--- a/resources/resource_factories/create/create_integration_test.go
+++ b/resources/resource_factories/create/create_integration_test.go
@@ -65,6 +65,7 @@ func TestGetRemoteHead(t *testing.T) {
}
func TestGetRemoteResponseHeaders(t *testing.T) {
+ t.Skip("This tests needs internet access")
files := `
-- config.toml --
[security]
@@ -100,6 +101,7 @@ func TestGetRemoteResponseHeaders(t *testing.T) {
}
func TestGetRemoteRetry(t *testing.T) {
+ t.Skip("This tests needs internet access")
t.Parallel()
temporaryHTTPCodes := []int{408, 429, 500, 502, 503, 504}
diff --git a/resources/resource_transformers/cssjs/tailwindcss_integration_test.go b/resources/resource_transformers/cssjs/tailwindcss_integration_test.go
index 9715b42..9489761 100644
--- a/resources/resource_transformers/cssjs/tailwindcss_integration_test.go
+++ b/resources/resource_transformers/cssjs/tailwindcss_integration_test.go
@@ -94,6 +94,7 @@ CSS: {{ $css.Content | safeCSS }}|
}
func TestTailwindCSSNoInlineImportsIssue13719(t *testing.T) {
+ t.Skip("This tests needs internet access")
t.Parallel()
files := `
|