test fix now that we send an aggregated text frame for non word-by-word tts services
This commit is contained in:
@@ -75,6 +75,7 @@ async def test_run_piper_tts_success(aiohttp_client):
|
|||||||
]
|
]
|
||||||
|
|
||||||
expected_returned_frames = [
|
expected_returned_frames = [
|
||||||
|
AggregatedTextFrame,
|
||||||
TTSStartedFrame,
|
TTSStartedFrame,
|
||||||
TTSAudioRawFrame,
|
TTSAudioRawFrame,
|
||||||
TTSAudioRawFrame,
|
TTSAudioRawFrame,
|
||||||
@@ -122,7 +123,7 @@ async def test_run_piper_tts_error(aiohttp_client):
|
|||||||
TTSSpeakFrame(text="Error case."),
|
TTSSpeakFrame(text="Error case."),
|
||||||
]
|
]
|
||||||
|
|
||||||
expected_down_frames = [TTSStoppedFrame, TTSTextFrame]
|
expected_down_frames = [AggregatedTextFrame, TTSStoppedFrame, TTSTextFrame]
|
||||||
|
|
||||||
expected_up_frames = [ErrorFrame]
|
expected_up_frames = [ErrorFrame]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user