Repository navigation
Commit 6bf5512
committed
fix(tests): stub created_ts on MagicMock session caches in test_coverage_iter235
MagicMock auto-creates every attribute as another MagicMock, so getattr with a
default never falls through. compact._render compares created_ts against an int
with >=, which raises TypeError on a MagicMock. Add created_ts = 0.0 to the
two TestBuildManifest mock setups that exercise _render.1 parent cced6b8 commit 6bf5512
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
| |||
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
| 206 | + | |
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
| |||
0 commit comments