Commit a71f387
committed
tests: Fake datetime.now() when using mock staging
The current staging TUF assets expire in 3 days: mock datetime.now()
so they seem valid in the tests.
This is absolutely quite sketchy but seems to work.
Signed-off-by: Jussi Kukkonen <[email protected]>1 parent f94c3f0 commit a71f387
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
161 | 172 | | |
162 | 173 | | |
163 | 174 | | |
| |||
0 commit comments