mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
chore: update deprecated pydantic fields access
This commit is contained in:
parent
c229cf8c7b
commit
a8573aa2af
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ class TestReplyKeyboardRemove:
|
|||
|
||||
def test_remove_keyboard_default_is_true(self):
|
||||
assert (
|
||||
ReplyKeyboardRemove.__fields__["remove_keyboard"].default is True
|
||||
ReplyKeyboardRemove.model_fields["remove_keyboard"].default is True
|
||||
), "Remove keyboard has incorrect default value!"
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue