fix formatting

This commit is contained in:
Aleix Conchillo Flaqué
2025-03-31 15:04:45 -07:00
parent ed387e876a
commit 648bdea64c
2 changed files with 6 additions and 6 deletions

View File

@@ -133,6 +133,6 @@ async def test_run_piper_tts_error(aiohttp_client):
up_frames = frames_received[1] up_frames = frames_received[1]
assert isinstance(up_frames[0], ErrorFrame), "Must receive an ErrorFrame for 404" assert isinstance(up_frames[0], ErrorFrame), "Must receive an ErrorFrame for 404"
assert ( assert "status: 404" in up_frames[0].error, (
"status: 404" in up_frames[0].error "ErrorFrame should contain details about the 404"
), "ErrorFrame should contain details about the 404" )

View File

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