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

Function fake_batch

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

Source from the content-addressed store, hash-verified

34 captured = {}
35
36 async def fake_batch(request, background_tasks=None):
37 captured["request"] = request
38 return type("Response", (), {"batch_id": "batch-1", "model_dump": lambda self: {"batch_id": "batch-1"}})()
39
40 monkeypatch.setattr(registration, "_start_batch_registration_internal", fake_batch)
41 monkeypatch.setattr(registration, "_validate_registration_request", lambda _: None)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected