mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +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 TestSetChatDescription:
|
|||
async def test_method(self, bot: MockedBot):
|
||||
prepare_result = bot.add_result_for(SetChatDescription, ok=True, result=True)
|
||||
|
||||
response: bool = await SetChatDescription(chat_id=-42, description='awesome chat')
|
||||
response: bool = await SetChatDescription(chat_id=-42, description="awesome chat")
|
||||
request: Request = bot.get_request()
|
||||
assert request.method == "setChatDescription"
|
||||
assert response == prepare_result.result
|
||||
|
|
@ -18,7 +18,7 @@ class TestSetChatDescription:
|
|||
async def test_bot_method(self, bot: MockedBot):
|
||||
prepare_result = bot.add_result_for(SetChatDescription, ok=True, result=True)
|
||||
|
||||
response: bool = await bot.set_chat_description(chat_id=-42, description='awesome chat')
|
||||
response: bool = await bot.set_chat_description(chat_id=-42, description="awesome chat")
|
||||
request: Request = bot.get_request()
|
||||
assert request.method == "setChatDescription"
|
||||
assert response == prepare_result.result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue