DtmfAggregator: cancel interruption task to avoid a dangling task

This commit is contained in:
Aleix Conchillo Flaqué
2025-07-03 08:18:48 -07:00
parent e9d358ed17
commit af8b4901d4
2 changed files with 11 additions and 8 deletions

View File

@@ -214,7 +214,7 @@ class TestDTMFAggregator(unittest.IsolatedAsyncioTestCase):
]
# All the InputDTMFFrames plus one TranscriptionFrame
expected_down_frames = [InputDTMFFrame] * 12 + [TranscriptionFrame]
expected_down_frames = [InputDTMFFrame] * len(frames_to_send) + [TranscriptionFrame]
received_down_frames, _ = await run_test(
aggregator,