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:
parent
d546a4f1e9
commit
004f6917aa
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user