From fab2f324d055e4501e6ae662be51c8447b3bb087 Mon Sep 17 00:00:00 2001 From: eternnoir Date: Tue, 7 Jun 2016 19:34:46 +0800 Subject: [PATCH] Fix test case. --- tests/test_telebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_telebot.py b/tests/test_telebot.py index 4ca3c46..6480df0 100644 --- a/tests/test_telebot.py +++ b/tests/test_telebot.py @@ -355,7 +355,7 @@ class TestTeleBot: def test_get_chat(self): tb = telebot.TeleBot(TOKEN) ch = tb.get_chat(GROUP_ID) - assert ch.id == GROUP_ID + assert str(ch.id) == GROUP_ID def test_get_chat_administrators(self): tb = telebot.TeleBot(TOKEN)