File: disable-httptest-unit-tests

package info (click to toggle)
golang-github-markbates-goth 1.42.0-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 964 kB
  • sloc: makefile: 3
file content (81 lines) | stat: -rw-r--r-- 1,882 bytes parent folder | download | duplicates (2)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
Exclude unit tests that utilize httptest.Server.
--- a/providers/intercom/intercom_test.go
+++ b/providers/intercom/intercom_test.go
@@ -69,6 +69,7 @@
 }
 
 func Test_FetchUser(t *testing.T) {
+	t.Skip("Debian exclusion: skip tests that use httptest.Server")
 	a := assert.New(t)
 
 	u := fetchUserPayload{}
--- a/providers/twitter/twitter_test.go
+++ b/providers/twitter/twitter_test.go
@@ -32,6 +32,7 @@
 }
 
 func Test_BeginAuth(t *testing.T) {
+	t.Skip("Debian exclusion: skip tests that use httptest.Server")
 	t.Parallel()
 	a := assert.New(t)
 
@@ -56,6 +57,7 @@
 }
 
 func Test_FetchUser(t *testing.T) {
+	t.Skip("Debian exclusion: skip tests that use httptest.Server")
 	t.Parallel()
 	a := assert.New(t)
 
--- a/providers/xero/xero_test.go
+++ b/providers/xero/xero_test.go
@@ -32,6 +32,7 @@
 }
 
 func Test_BeginAuth(t *testing.T) {
+	t.Skip("Debian exclusion: skip tests that use httptest.Server")
 	t.Parallel()
 	a := assert.New(t)
 
@@ -50,6 +51,7 @@
 }
 
 func Test_FetchUser(t *testing.T) {
+	t.Skip("Debian exclusion: skip tests that use httptest.Server")
 	t.Parallel()
 	a := assert.New(t)
 
--- a/providers/openidConnect/openidConnect_test.go
+++ b/providers/openidConnect/openidConnect_test.go
@@ -22,6 +22,7 @@
 }
 
 func Test_New(t *testing.T) {
+	t.Skip("Debian exclusion: skip tests that use httptest.Server")
 	t.Parallel()
 	a := assert.New(t)
 
@@ -37,6 +38,7 @@
 }
 
 func Test_BeginAuth(t *testing.T) {
+	t.Skip("Debian exclusion: skip tests that use httptest.Server")
 	t.Parallel()
 	a := assert.New(t)
 
@@ -52,6 +54,7 @@
 }
 
 func Test_Implements_Provider(t *testing.T) {
+	t.Skip("Debian exclusion: skip tests that use httptest.Server")
 	t.Parallel()
 	a := assert.New(t)
 
@@ -59,6 +62,7 @@
 }
 
 func Test_SessionFromJSON(t *testing.T) {
+	t.Skip("Debian exclusion: skip tests that use httptest.Server")
 	t.Parallel()
 	a := assert.New(t)