Skip to content

The agent that grows with you

test(gateway): the projection fake turn carries TurnContext's progress_mode

teknium164d5f9753af9
diff --git a/tests/gateway/test_api_canonical_projection.py b/tests/gateway/test_api_canonical_projection.py
index 4b5ac3da644..9a8c641628e 100644
--- a/tests/gateway/test_api_canonical_projection.py
+++ b/tests/gateway/test_api_canonical_projection.py
@@ -20,7 +20,7 @@ PNG = base64.b64encode(b'\x89PNG\r\n\x1a\n' + b'\x00' * 64).decode()
def _turn_runner(owner, ref):
from gateway.run_turn_runner import TurnRunner
turn = object.__new__(TurnRunner)
- turn._ctx = SimpleNamespace(_native_slack_task_cards=False, _voice_ack_guild=[None])
+ turn._ctx = SimpleNamespace(_native_slack_task_cards=False, _voice_ack_guild=[None], progress_mode='off')
turn._approval_owner = (owner, ref.session_id, owner.db.get_session(ref.session_id)['runtime_generation'])
return turn