nixpkgs/pkgs/servers/pufferpanel/skip-network-tests.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

62 lines
1.7 KiB
Diff
Raw Normal View History

2023-03-11 19:30:25 +00:00
diff --git a/operations/javadl/javadl_test.go b/operations/javadl/javadl_test.go
index 3938a58c..a51e2f4a 100644
--- a/operations/javadl/javadl_test.go
+++ b/operations/javadl/javadl_test.go
@@ -22,6 +22,8 @@ import (
)
func Test_downloadJava(t *testing.T) {
+ t.Skip("requires network access")
+
tests := []struct {
name string
wantErr bool
diff --git a/operations/spongedl/spongedl_test.go b/operations/spongedl/spongedl_test.go
index efb1665c..1b93be8c 100644
--- a/operations/spongedl/spongedl_test.go
+++ b/operations/spongedl/spongedl_test.go
@@ -5,6 +5,8 @@ import (
)
func TestSpongeDl_Run(t *testing.T) {
+ t.Skip("requires network access")
+
type fields struct {
Recommended bool
SpongeType string
diff --git a/operations/steamgamedl/dl_test.go b/operations/steamgamedl/dl_test.go
index f4df4bf3..f7cd9681 100644
--- a/operations/steamgamedl/dl_test.go
+++ b/operations/steamgamedl/dl_test.go
@@ -19,6 +19,8 @@ import (
)
func Test_downloadSteamcmd(t *testing.T) {
+ t.Skip("requires network access")
+
tests := []struct {
name string
wantErr bool
diff --git a/services/templates_test.go b/services/templates_test.go
index 5305dbc0..127efc54 100644
--- a/services/templates_test.go
+++ b/services/templates_test.go
@@ -9,6 +9,8 @@ import (
)
func TestTemplate_GetImportableTemplates(t1 *testing.T) {
+ t1.Skip("requires network access")
+
t1.Run("GetImportableTemplates", func(t1 *testing.T) {
t := &Template{}
@@ -26,6 +28,8 @@ func TestTemplate_GetImportableTemplates(t1 *testing.T) {
}
func TestTemplate_ImportTemplates(t1 *testing.T) {
+ t1.Skip("requires network access")
+
t1.Run("GetImportableTemplates", func(t1 *testing.T) {
db := prepareDatabase(t1)
if t1.Failed() {