Commit fbacd50
authored
test: Support running the test suite without oauth2client (#2021)
* test: make MockCredentials class standalone
Remove the inheritance of MockCredentials from oauth2client.Credentials.
This is unnecessary, and removing it makes it possible to run
the respective tests without oauth2client installed.
* test: Support testing without oauth2client
Make it possible to run the test suite without oauth2client, by skipping
the few tests that specifically require it. Given that oauth2client
is deprecated, we are aiming towards removing it entirely from Gentoo
and the unconditional imports in the test suite are a blocker for that.
* test: Test without oauth2client as well1 parent ce9188c commit fbacd50
4 files changed
+22
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | | - | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
| |||
105 | 111 | | |
106 | 112 | | |
107 | 113 | | |
| 114 | + | |
108 | 115 | | |
109 | 116 | | |
110 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
| |||
1513 | 1519 | | |
1514 | 1520 | | |
1515 | 1521 | | |
| 1522 | + | |
1516 | 1523 | | |
1517 | 1524 | | |
1518 | 1525 | | |
| |||
2198 | 2205 | | |
2199 | 2206 | | |
2200 | 2207 | | |
| 2208 | + | |
2201 | 2209 | | |
2202 | 2210 | | |
2203 | 2211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | | - | |
| 62 | + | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
0 commit comments