mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Fix test case.
This commit is contained in:
parent
0d0e37dae5
commit
373d4d37ff
@ -391,7 +391,7 @@ class TestTeleBot:
|
|||||||
def create_text_message(self, text):
|
def create_text_message(self, text):
|
||||||
params = {'text': text}
|
params = {'text': text}
|
||||||
chat = types.User(11, False, 'test')
|
chat = types.User(11, False, 'test')
|
||||||
return types.Message(1, None, None, chat, 'text', params)
|
return types.Message(1, None, None, chat, 'text', params, "")
|
||||||
|
|
||||||
def test_is_string_unicode(self):
|
def test_is_string_unicode(self):
|
||||||
s1 = u'string'
|
s1 = u'string'
|
||||||
|
Loading…
Reference in New Issue
Block a user