mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update API
This commit is contained in:
parent
5aeab63384
commit
915c84c742
363 changed files with 1510 additions and 2262 deletions
|
|
@ -21,7 +21,9 @@ class TestSetMyCommands:
|
|||
async def test_bot_method(self, bot: MockedBot):
|
||||
prepare_result = bot.add_result_for(SetMyCommands, ok=True, result=None)
|
||||
|
||||
response: bool = await bot.set_my_commands(commands=[],)
|
||||
response: bool = await bot.set_my_commands(
|
||||
commands=[],
|
||||
)
|
||||
request: Request = bot.get_request()
|
||||
assert request.method == "setMyCommands"
|
||||
# assert request.data == {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue