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

Function fake_single

tests/test_registration_codex2api.py:9–11  ·  view source on GitHub ↗
(request, background_tasks=None)

Source from the content-addressed store, hash-verified

7 captured = {}
8
9 async def fake_single(request, background_tasks=None):
10 captured["request"] = request
11 return type("Response", (), {"task_uuid": "task-1", "model_dump": lambda self: {"task_uuid": "task-1"}})()
12
13 monkeypatch.setattr(registration, "_start_single_registration_internal", fake_single)
14 monkeypatch.setattr(registration, "_validate_registration_request", lambda _: None)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected