update test_user

This commit is contained in:
sheldygg 2022-10-31 00:19:54 +03:00
parent 970ef46f82
commit 9dbaad44fe

View file

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