mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
update test_user
This commit is contained in:
parent
970ef46f82
commit
9dbaad44fe
1 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ class TestUser:
|
|||
["User", " ", "User "],
|
||||
[" ", " ", " "],
|
||||
],
|
||||
)
|
||||
def test_full_name(self, first: str, last: str, result: bool):
|
||||
)
|
||||
def test_get_mention_html(self, first: str, last: str, result: bool):
|
||||
user = User(id=42, is_bot=False, first_name=first, last_name=last)
|
||||
assert user.full_name == result
|
||||
assert user.mention_html()
|
||||
Loading…
Add table
Add a link
Reference in a new issue