The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(gateway): run the scheduled voice ack instead of reading its frame
Tekniume5f0ab957119
diff --git a/tests/gateway/test_prompt_tail_freeze.py b/tests/gateway/test_prompt_tail_freeze.pyindex 8701261e2fe..9b0dbd6f433 100644--- a/tests/gateway/test_prompt_tail_freeze.py+++ b/tests/gateway/test_prompt_tail_freeze.py@@ -18,6 +18,7 @@ is guarded by the parity test below.from __future__ import annotations+import asynciofrom types import SimpleNamespacefrom unittest.mock import MagicMock@@ -355,8 +356,9 @@ class TestVoiceAckFollowsTheAnsweringBot:)GatewayTurnProgressMixin.voice_ack_callback(progress, "call1", "web_search", {})assert len(scheduled) == 1- assert scheduled[0].cr_frame.f_locals["self"] is secondary- scheduled[0].close()+ asyncio.run(scheduled[0])+ assert secondary.acks == [77]+ assert _primary.acks == []# ---------------------------------------------------------------------------