mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 02:03:04 +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
|
|
@ -35,7 +35,7 @@ class MockedBot(Bot):
|
|||
session: MockedSession
|
||||
|
||||
def __init__(self):
|
||||
super(MockedBot, self).__init__("TOKEN", session=MockedSession())
|
||||
super(MockedBot, self).__init__("42:TEST", session=MockedSession())
|
||||
|
||||
def add_result_for(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue