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:
parent
9bf4be2caf
commit
fab2f324d0
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user