Add token validation util, fix deepcopy of sessions and make bot hashable and comparable

This commit is contained in:
Alex Root Junior 2019-11-28 23:12:44 +02:00
parent 9adc2f91bd
commit c674b5547b
11 changed files with 223 additions and 41 deletions

View file

@ -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):