mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2021-05-13 03:08:02 +03:00
Fix failed testcase.
This commit is contained in:
@@ -22,7 +22,7 @@ def test_json_message_group():
|
|||||||
msg = types.Message.de_json(json_string)
|
msg = types.Message.de_json(json_string)
|
||||||
assert msg.text == 'HIHI'
|
assert msg.text == 'HIHI'
|
||||||
assert len(msg.chat.title) != 0
|
assert len(msg.chat.title) != 0
|
||||||
assert msg.fromUser.username == 'GG'
|
assert msg.from_user.username == 'GG'
|
||||||
|
|
||||||
|
|
||||||
def test_json_GroupChat():
|
def test_json_GroupChat():
|
||||||
|
|||||||
Reference in New Issue
Block a user