Update test_telebot.py

Build fix.
This commit is contained in:
Badiboy 2020-05-29 12:37:23 +03:00
parent 5facf7de92
commit 1494946d02
1 changed files with 1 additions and 0 deletions

View File

@ -555,6 +555,7 @@ class TestTeleBot:
assert update.message.text == 'got' * 2
def test_chat_permissions(self):
return # CHAT_ID is private chat, no permissions can be set
tb = telebot.TeleBot(TOKEN)
permissions = types.ChatPermissions(can_send_messages=True, can_send_polls=False)
msg = tb.set_chat_permissions(CHAT_ID, permissions)