MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / fake_schedule

Function fake_schedule

tests/test_registration_codex2api.py:63–66  ·  view source on GitHub ↗
(background_tasks, coroutine_func, *args)

Source from the content-addressed store, hash-verified

61 captured = {}
62
63 def fake_schedule(background_tasks, coroutine_func, *args):
64 captured["background_tasks"] = background_tasks
65 captured["coroutine_func"] = coroutine_func
66 captured["args"] = args
67
68 monkeypatch.setattr(registration, "_schedule_async_job", fake_schedule)
69 monkeypatch.setattr(registration, "_validate_registration_request", lambda _: None)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected