mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Fix testing error.
This commit is contained in:
@@ -208,7 +208,7 @@ class TestTeleBot:
|
||||
me = tb.get_me()
|
||||
msg = tb.send_message(CHAT_ID, 'Test')
|
||||
assert me.id == msg.from_user.id
|
||||
assert msg.chat.id == CHAT_ID
|
||||
assert msg.chat.id == int(CHAT_ID)
|
||||
|
||||
def create_text_message(self, text):
|
||||
params = {'text': text}
|
||||
|
||||
Reference in New Issue
Block a user