(request, background_tasks=None)
| 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) |
nothing calls this directly
no outgoing calls
no test coverage detected