mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 02:03:04 +00:00
More docs
This commit is contained in:
parent
4008a3114d
commit
322a98bc1b
12 changed files with 77 additions and 28 deletions
|
|
@ -8,7 +8,7 @@ from aiogram import Bot
|
|||
from aiogram.client.session import aiohttp
|
||||
from aiogram.client.session.aiohttp import AiohttpSession
|
||||
from aiogram.methods import Request, TelegramMethod
|
||||
from aiogram.types import InputFile, UNSET
|
||||
from aiogram.types import UNSET, InputFile
|
||||
from tests.mocked_bot import MockedBot
|
||||
|
||||
try:
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@ class TestReplyKeyboardRemove:
|
|||
), "Remove keyboard has incorrect default value!"
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"kwargs,expected", [[{}, True], [{"remove_keyboard": True}, True]],
|
||||
"kwargs,expected",
|
||||
[[{}, True], [{"remove_keyboard": True}, True]],
|
||||
)
|
||||
def test_remove_keyboard_values(self, kwargs, expected):
|
||||
assert ReplyKeyboardRemove(**kwargs).remove_keyboard is expected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue