Fixed ultravox service bugs (#1420)

This commit is contained in:
milo157
2025-03-21 03:55:43 +02:00
committed by GitHub
parent 09c62d939a
commit 3b4d91e1c1
3 changed files with 27 additions and 18 deletions

View File

@@ -86,9 +86,9 @@ class TestUserIdleProcessor(unittest.IsolatedAsyncioTestCase):
expected_down_frames=expected_down_frames,
)
assert not callback_called.is_set(), (
"Idle callback was called even though bot speaking frames reset the timer"
)
assert (
not callback_called.is_set()
), "Idle callback was called even though bot speaking frames reset the timer"
async def test_idle_retry_callback(self):
"""Test that retry count increases until user activity resets it."""