mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
AIOG-T-20 Bot API 4.8
This commit is contained in:
parent
4a86bc63c8
commit
3aa63078ab
1 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import pytest
|
||||
|
||||
from aiogram.api.types import ReplyKeyboardRemove
|
||||
|
||||
|
||||
|
|
@ -9,7 +8,9 @@ class TestReplyKeyboardRemove:
|
|||
"""
|
||||
|
||||
def test_remove_keyboard_default_is_true(self):
|
||||
assert ReplyKeyboardRemove.__fields__["remove_keyboard"].default is True
|
||||
assert (
|
||||
ReplyKeyboardRemove.__fields__["remove_keyboard"].default is True
|
||||
), "Remove keyboard has incorrect default value!"
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"kwargs,expected",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue