(log: GenerationLog, successor: Snapshot)
| 214 | real_commit = GenerationLog.commit |
| 215 | |
| 216 | def commit_after_pause(log: GenerationLog, successor: Snapshot) -> bool: |
| 217 | clock[0] = 10.0 |
| 218 | return real_commit(log, successor) |
| 219 | |
| 220 | mocker.patch.object(GenerationLog, "commit", autospec=True, side_effect=commit_after_pause) |
| 221 | assert reader.advance() |
nothing calls this directly
no outgoing calls
no test coverage detected