MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_loop_mode_schedules_tasks

Function test_loop_mode_schedules_tasks

tests/test_deferred_prefetch.py:71–79  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

69
70
71def 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
82def test_rekick_is_idempotent(tmp_path):

Callers

nothing calls this directly

Calls 3

scenarioFunction · 0.85
_user_cache_warmFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected