Skip to content

Commit 21ecf35

Browse files
committed
update telegram empty-command registration expectation
1 parent b9aa309 commit 21ecf35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_telegram_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ async def second_start_polling(*args, **kwargs):
472472

473473
assert builder.build.call_count == 2
474474
app_one.updater.stop.assert_awaited()
475-
app_one.bot.delete_my_commands.assert_not_awaited()
475+
app_one.bot.delete_my_commands.assert_awaited_once()
476476
app_one.stop.assert_awaited()
477477
app_one.shutdown.assert_awaited()
478478
app_two.initialize.assert_awaited()

0 commit comments

Comments
 (0)