1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fix failed testcase.

This commit is contained in:
eternnoir 2015-07-04 17:27:53 +08:00
parent e095a2ffe9
commit b316e699e1

View File

@ -22,7 +22,7 @@ def test_json_message_group():
msg = types.Message.de_json(json_string)
assert msg.text == 'HIHI'
assert len(msg.chat.title) != 0
assert msg.fromUser.username == 'GG'
assert msg.from_user.username == 'GG'
def test_json_GroupChat():