From 70f9560b2905dfd2c1132f126d8b4b84aec68a07 Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Mon, 17 Aug 2026 16:04:12 -0500 Subject: [PATCH] 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. --- tests/test_tui_gateway_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_tui_gateway_server.py b/tests/test_tui_gateway_server.py index 75a2163adf..2f15a65015 100644 --- a/tests/test_tui_gateway_server.py +++ b/tests/test_tui_gateway_server.py @@ -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)