fix formatting
This commit is contained in:
@@ -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"
|
)
|
||||||
|
|||||||
@@ -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."""
|
||||||
|
|||||||
Reference in New Issue
Block a user