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

Fix test error.

This commit is contained in:
eternnoir 2015-07-30 11:34:23 +08:00
parent d546a4f1e9
commit 004f6917aa

View File

@ -149,7 +149,8 @@ def test_send_location():
def create_text_message(text): def create_text_message(text):
params = {'text': text} params = {'text': text}
return types.Message(1, None, None, 1, 'text', params) chat = types.User(11,'test')
return types.Message(1, None, None, chat, 'text', params)
def test_is_string_unicode(): def test_is_string_unicode():