More docs

This commit is contained in:
Alex Root Junior 2021-02-07 18:43:43 +02:00
parent 4008a3114d
commit 322a98bc1b
12 changed files with 77 additions and 28 deletions

View file

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

View file

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