From 433cb4237bb62ec093c837ede8f0c3ceee55e7b0 Mon Sep 17 00:00:00 2001 From: HgO Date: Wed, 26 Oct 2022 18:08:36 +0200 Subject: [PATCH] format code --- tests/test_chat_functions.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_chat_functions.py b/tests/test_chat_functions.py index 769b41f..08d6f4a 100644 --- a/tests/test_chat_functions.py +++ b/tests/test_chat_functions.py @@ -66,9 +66,7 @@ class ChatFunctionsTestCase(unittest.IsolatedAsyncioTestCase): fake_response = Mock(spec=nio.RoomSendError) fake_response.error = "some error" fake_matrix_client = Mock(spec=nio.AsyncClient) - fake_matrix_client.room_send.return_value = make_awaitable( - fake_response - ) + fake_matrix_client.room_send.return_value = make_awaitable(fake_response) fake_room_id = "!abcdefgh:example.com" fake_event_id = "some event id" fake_reaction_text = "some reaction"