The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(tui): let notification fakes accept the ownership-report flag
Teknium91f30d4711f7
diff --git a/tests/tui_gateway/test_bot_live_owner_delivery.py b/tests/tui_gateway/test_bot_live_owner_delivery.pyindex c66a7ac6514..1d56c4beeb0 100644--- a/tests/tui_gateway/test_bot_live_owner_delivery.py+++ b/tests/tui_gateway/test_bot_live_owner_delivery.py@@ -31,7 +31,7 @@ def test_refused_input_commits_failed_mailbox_receipt(tmp_path):"threading": threading, "time": time, "logger": logging.getLogger(__name__),"_start_session_work": _start_session_work,"_sessions_lock": threading.RLock(), "_sessions": {},- "_admit_prompt_turn": lambda *args: ([], agent),+ "_admit_prompt_turn": lambda *args, **kwargs: ([], agent),"_session_profile_runtime_scope": lambda session: contextlib.nullcontext(),"_emit": noop, "bind_transport": noop, "reset_transport": noop,"_current_runtime_session_record": contextvars.ContextVar("refused_turn"),diff --git a/tests/tui_gateway/test_tui_gateway_server.py b/tests/tui_gateway/test_tui_gateway_server.pyindex daad0bc9507..fd1987cb74f 100644--- a/tests/tui_gateway/test_tui_gateway_server.py+++ b/tests/tui_gateway/test_tui_gateway_server.py@@ -19176,7 +19176,7 @@ def test_notification_poller_emits_distinct_watch_matches_once(monkeypatch):turns = []emitted = []- def _fake_run_prompt_submit(rid, sid, session, text):+ def _fake_run_prompt_submit(rid, sid, session, text, **_kwargs):turns.append(text)with session["history_lock"]:session["running"] = False