(background_tasks, coroutine_func, *args)
| 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) |
nothing calls this directly
no outgoing calls
no test coverage detected