(request, background_tasks=None)
| 101 | captured = {} |
| 102 | |
| 103 | async def fake_batch(request, background_tasks=None): |
| 104 | captured["request"] = request |
| 105 | return type("Response", (), {"batch_id": "batch-1", "model_dump": lambda self: {"batch_id": "batch-1"}})() |
| 106 | |
| 107 | monkeypatch.setattr(registration, "_start_batch_registration_internal", fake_batch) |
| 108 | monkeypatch.setattr(registration, "_validate_registration_request", lambda _: None) |
nothing calls this directly
no outgoing calls
no test coverage detected