test: accept keyword args in the prompt-submit fallback stub
_run_prompt_submit grew a display_kind keyword; the fail-open test's monkeypatched stub pinned the old 4-arg shape and broke on the call.
This commit is contained in:
committed by
brooklyn!
parent
3ead0f8dc1
commit
70f9560b29
@@ -377,7 +377,7 @@ def test_prompt_submit_fails_open_inline_when_compute_host_dispatch_breaks(monke
|
||||
monkeypatch.setattr(
|
||||
server,
|
||||
"_run_prompt_submit",
|
||||
lambda rid, sid, _session, text: inline_calls.append((rid, sid, text)),
|
||||
lambda rid, sid, _session, text, **_kwargs: inline_calls.append((rid, sid, text)),
|
||||
)
|
||||
monkeypatch.setattr(server.threading, "Thread", _ImmediateThread)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user