mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 02:03:04 +00:00
Rename run to run_polling
This commit is contained in:
parent
02cefa1cf3
commit
9dc1e9ff1a
2 changed files with 6 additions and 4 deletions
|
|
@ -192,5 +192,5 @@ class TestDispatcher:
|
|||
def test_run(self, bot: MockedBot):
|
||||
dispatcher = Dispatcher()
|
||||
with patch("aiogram.dispatcher.dispatcher.Dispatcher._run_polling") as patched_run_polling:
|
||||
dispatcher.run(bot)
|
||||
dispatcher.run_polling(bot)
|
||||
patched_run_polling.assert_awaited_once()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue