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:32:12 +08:00
parent d701fd6e1d
commit 9bf4be2caf

View File

@ -360,7 +360,7 @@ class TestTeleBot:
def test_get_chat_administrators(self): def test_get_chat_administrators(self):
tb = telebot.TeleBot(TOKEN) tb = telebot.TeleBot(TOKEN)
cas = tb.get_chat_administrators(GROUP_ID) cas = tb.get_chat_administrators(GROUP_ID)
assert len(cas) > 1 assert len(cas) > 0
def test_get_chat_members_count(self): def test_get_chat_members_count(self):
tb = telebot.TeleBot(TOKEN) tb = telebot.TeleBot(TOKEN)