Skip to content

The agent that grows with you

test(gateway): align main's lifecycle/authority tests with the unified runtime contract

teknium158c3490a2784
diff --git a/tests/gateway/test_session_authority_cancel_settlement.py b/tests/gateway/test_session_authority_cancel_settlement.py
index 957174d505b..489362b078c 100644
--- a/tests/gateway/test_session_authority_cancel_settlement.py
+++ b/tests/gateway/test_session_authority_cancel_settlement.py
@@ -138,7 +138,8 @@ def _wire_turn_agent(authority, generation, agent):
"""Run the real per-turn agent wiring with this authority as the turn's approval owner."""
from gateway.run_turn_runner import TurnRunner
ctx = SimpleNamespace(
- source=SimpleNamespace(platform=None), # main's notification presentation reads ctx.source.platform
+ source=SimpleNamespace(platform=None), # notification presentation reads ctx.source.platform
+ mute_notification_reply=False,
progress_callback=None, native_tool_start_callback=None, voice_ack_callback=None,
_voice_ack_guild=[None], _native_slack_task_cards=False, native_tool_complete_callback=None,
_step_callback_sync=None, _hooks_ref=SimpleNamespace(loaded_hooks=[]), _status_callback_sync=None,