1
0
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:
eternnoir
2015-10-12 10:51:29 +08:00
parent 9ee341f5e6
commit 37277d74cc
2 changed files with 9 additions and 9 deletions

View File

@@ -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}