Debian Codegraph @

debian/patches/disable-network-tests.patch

raw
1 Index: golang-github-bsphere-le-go/le_test.go
2 ===================================================================
3 --- golang-github-bsphere-le-go.orig/le_test.go
4 +++ golang-github-bsphere-le-go/le_test.go
5 @@ -8,6 +8,8 @@ import (
6 )
7
8 func TestConnectOpensConnection(t *testing.T) {
9 + t.Skip("DM: network access disabled")
10 +
11 le, err := Connect("")
12 if err != nil {
13 t.Fatal(err)
14 @@ -25,6 +27,8 @@ func TestConnectOpensConnection(t *testi
15 }
16
17 func TestConnectSetsToken(t *testing.T) {
18 + t.Skip("DM: network access disabled")
19 +
20 le, err := Connect("myToken")
21 if err != nil {
22 t.Fatal(err)
23 @@ -38,6 +42,8 @@ func TestConnectSetsToken(t *testing.T)
24 }
25
26 func TestCloseClosesConnection(t *testing.T) {
27 + t.Skip("DM: network access disabled")
28 +
29 le, err := Connect("")
30 if err != nil {
31 t.Fatal(err)
32 @@ -51,6 +57,8 @@ func TestCloseClosesConnection(t *testin
33 }
34
35 func TestOpenConnectionOpensConnection(t *testing.T) {
36 + t.Skip("DM: network access disabled")
37 +
38 le, err := Connect("")
39 if err != nil {
40 t.Fatal(err)
41 @@ -66,6 +74,8 @@ func TestOpenConnectionOpensConnection(t
42 }
43
44 func TestEnsureOpenConnectionDoesNothingOnOpenConnection(t *testing.T) {
45 + t.Skip("DM: network access disabled")
46 +
47 le, err := Connect("")
48 if err != nil {
49 t.Fatal(err)
50 @@ -82,6 +92,8 @@ func TestEnsureOpenConnectionDoesNothing
51 }
52
53 func TestEnsureOpenConnectionCreatesNewConnection(t *testing.T) {
54 + t.Skip("DM: network access disabled")
55 +
56 le, err := Connect("")
57 if err != nil {
58 t.Fatal(err)
59 @@ -133,6 +145,8 @@ func TestSetPrefixSetsPrefix(t *testing.
60 }
61
62 func TestLoggerImplementsWriterInterface(t *testing.T) {
63 + t.Skip("DM: network access disabled")
64 +
65 le, err := Connect("myToken")
66 if err != nil {
67 t.Fatal(err)
68 @@ -145,6 +159,8 @@ func TestLoggerImplementsWriterInterface
69 }
70
71 func TestReplaceNewline(t *testing.T) {
72 + t.Skip("DM: network access disabled")
73 +
74 le, err := Connect("myToken")
75 if err != nil {
76 t.Fatal(err)
77 @@ -160,6 +176,8 @@ func TestReplaceNewline(t *testing.T) {
78 }
79
80 func TestAddNewline(t *testing.T) {
81 + t.Skip("DM: network access disabled")
82 +
83 le, err := Connect("myToken")
84 if err != nil {
85 t.Fatal(err)