mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +00:00
Add prototype of class-based handlers
This commit is contained in:
parent
2a731f7ce2
commit
b82a1a6fb0
11 changed files with 178 additions and 8 deletions
|
|
@ -7,5 +7,6 @@ from tests.mocked_bot import MockedBot
|
|||
@pytest.fixture()
|
||||
def bot():
|
||||
bot = MockedBot()
|
||||
Bot.set_current(bot)
|
||||
token = Bot.set_current(bot)
|
||||
yield bot
|
||||
Bot.reset_current(token)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue