format code

This commit is contained in:
HgO 2022-10-26 18:08:36 +02:00
parent 6e589d4e23
commit 433cb4237b

View file

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