mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 02:03:04 +00:00
Move prepare_<field> to single module and add tests for default parse_mode
This commit is contained in:
parent
df6a861276
commit
e12aca9046
22 changed files with 165 additions and 100 deletions
|
|
@ -34,8 +34,8 @@ class MockedBot(Bot):
|
|||
if TYPE_CHECKING:
|
||||
session: MockedSession
|
||||
|
||||
def __init__(self):
|
||||
super(MockedBot, self).__init__("42:TEST", session=MockedSession())
|
||||
def __init__(self, **kwargs):
|
||||
super(MockedBot, self).__init__("42:TEST", session=MockedSession(), **kwargs)
|
||||
|
||||
def add_result_for(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue