Reformat code

This commit is contained in:
Alex Root Junior 2019-11-19 22:44:40 +02:00
parent 23abe35212
commit d7a35f50a9
17 changed files with 22 additions and 7 deletions

View file

@ -9,7 +9,7 @@ class TestSetChatTitle:
async def test_method(self, bot: MockedBot):
prepare_result = bot.add_result_for(SetChatTitle, ok=True, result=True)
response: bool = await SetChatTitle(chat_id=-42, title='test chat')
response: bool = await SetChatTitle(chat_id=-42, title="test chat")
request: Request = bot.get_request()
assert request.method == "setChatTitle"
assert response == prepare_result.result
@ -18,7 +18,7 @@ class TestSetChatTitle:
async def test_bot_method(self, bot: MockedBot):
prepare_result = bot.add_result_for(SetChatTitle, ok=True, result=True)
response: bool = await bot.set_chat_title(chat_id=-42, title='test chat')
response: bool = await bot.set_chat_title(chat_id=-42, title="test chat")
request: Request = bot.get_request()
assert request.method == "setChatTitle"
assert response == prepare_result.result