mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Reformat code
This commit is contained in:
parent
23abe35212
commit
d7a35f50a9
17 changed files with 22 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue