mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Add token validation util, fix deepcopy of sessions and make bot hashable and comparable
This commit is contained in:
parent
9adc2f91bd
commit
c674b5547b
11 changed files with 223 additions and 41 deletions
|
|
@ -20,7 +20,7 @@ class TestDispatcher:
|
|||
@pytest.mark.asyncio
|
||||
async def test_feed_update(self):
|
||||
dp = Dispatcher()
|
||||
bot = Bot("TOKEN")
|
||||
bot = Bot("42:TEST")
|
||||
|
||||
@dp.message_handler()
|
||||
async def my_handler(message: Message, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue