Skip to content

Commit fab2f32

Browse files
committed
Fix test case.
1 parent 9bf4be2 commit fab2f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_telebot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def test_edit_message_text(self):
355355
def test_get_chat(self):
356356
tb = telebot.TeleBot(TOKEN)
357357
ch = tb.get_chat(GROUP_ID)
358-
assert ch.id == GROUP_ID
358+
assert str(ch.id) == GROUP_ID
359359

360360
def test_get_chat_administrators(self):
361361
tb = telebot.TeleBot(TOKEN)

0 commit comments

Comments
 (0)