From e8640d84aecb2b5a72a6a7f8a7f228efddcaf03c Mon Sep 17 00:00:00 2001 From: mattie ruth backman Date: Fri, 14 Nov 2025 17:13:08 -0500 Subject: [PATCH] test fix now that we send an aggregated text frame for non word-by-word tts services --- tests/test_piper_tts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_piper_tts.py b/tests/test_piper_tts.py index 05f571c24..a006f555c 100644 --- a/tests/test_piper_tts.py +++ b/tests/test_piper_tts.py @@ -75,6 +75,7 @@ async def test_run_piper_tts_success(aiohttp_client): ] expected_returned_frames = [ + AggregatedTextFrame, TTSStartedFrame, TTSAudioRawFrame, TTSAudioRawFrame, @@ -122,7 +123,7 @@ async def test_run_piper_tts_error(aiohttp_client): TTSSpeakFrame(text="Error case."), ] - expected_down_frames = [TTSStoppedFrame, TTSTextFrame] + expected_down_frames = [AggregatedTextFrame, TTSStoppedFrame, TTSTextFrame] expected_up_frames = [ErrorFrame]