(tmp_path)
| 69 | |
| 70 | |
| 71 | def test_loop_mode_schedules_tasks(tmp_path): |
| 72 | async def scenario(): |
| 73 | handle = start_deferred_prefetches(cwd=str(tmp_path)) |
| 74 | assert handle.mode == "loop" |
| 75 | assert handle.tasks |
| 76 | await asyncio.gather(*handle.tasks) |
| 77 | |
| 78 | asyncio.run(scenario()) |
| 79 | assert _user_cache_warm() |
| 80 | |
| 81 | |
| 82 | def test_rekick_is_idempotent(tmp_path): |
nothing calls this directly
no test coverage detected