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."""