diff --git a/tests/test_meanwhile_turn_flow.py b/tests/test_meanwhile_turn_flow.py index a2e2783..0290b2b 100644 --- a/tests/test_meanwhile_turn_flow.py +++ b/tests/test_meanwhile_turn_flow.py @@ -394,7 +394,19 @@ def test_meanwhile_scene_close_writes_per_pov_for_both_bots_only( "relationship_summary": "", } ) - close_mock = MockLLMClient(canned=[pov_payload_host, pov_payload_guest]) + # T65 added a meanwhile digest summarize call after per-POV writes + # for meanwhile scenes. T58's thread detection is wrapped in try/except + # so its IndexError is swallowed gracefully. + digest_payload = json.dumps( + { + "summary": "While you were away, BotA and BotB talked quietly.", + "knowledge_facts": [], + "relationship_summary": "", + } + ) + close_mock = MockLLMClient( + canned=[pov_payload_host, pov_payload_guest, digest_payload] + ) import asyncio as _asyncio