1
0
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:
eternnoir 2016-06-07 19:34:46 +08:00
parent 9bf4be2caf
commit fab2f324d0

View File

@ -355,7 +355,7 @@ class TestTeleBot:
def test_get_chat(self): def test_get_chat(self):
tb = telebot.TeleBot(TOKEN) tb = telebot.TeleBot(TOKEN)
ch = tb.get_chat(GROUP_ID) ch = tb.get_chat(GROUP_ID)
assert ch.id == GROUP_ID assert str(ch.id) == GROUP_ID
def test_get_chat_administrators(self): def test_get_chat_administrators(self):
tb = telebot.TeleBot(TOKEN) tb = telebot.TeleBot(TOKEN)