From 648bdea64c20f5b842c21abcd20183514a70e032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Mon, 31 Mar 2025 15:04:45 -0700 Subject: [PATCH] fix formatting --- tests/test_piper_tts.py | 6 +++--- tests/test_user_idle_processor.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_piper_tts.py b/tests/test_piper_tts.py index f433fea19..673ea087a 100644 --- a/tests/test_piper_tts.py +++ b/tests/test_piper_tts.py @@ -133,6 +133,6 @@ async def test_run_piper_tts_error(aiohttp_client): up_frames = frames_received[1] assert isinstance(up_frames[0], ErrorFrame), "Must receive an ErrorFrame for 404" - assert ( - "status: 404" in up_frames[0].error - ), "ErrorFrame should contain details about the 404" + assert "status: 404" in up_frames[0].error, ( + "ErrorFrame should contain details about the 404" + ) diff --git a/tests/test_user_idle_processor.py b/tests/test_user_idle_processor.py index 7ea6f8744..a2f2fd386 100644 --- a/tests/test_user_idle_processor.py +++ b/tests/test_user_idle_processor.py @@ -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."""