1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00
This commit is contained in:
eternnoir 2015-10-12 10:37:41 +08:00
parent 4ffdada427
commit 0bd284afc7

View File

@ -101,7 +101,6 @@ class TestTeleBot:
ret_msg = tb.send_message(CHAT_ID, markdown, parse_mode="Markdown") ret_msg = tb.send_message(CHAT_ID, markdown, parse_mode="Markdown")
assert ret_msg.message_id assert ret_msg.message_id
def test_send_file(self): def test_send_file(self):
file_data = open('../examples/detailed_example/kitten.jpg', 'rb') file_data = open('../examples/detailed_example/kitten.jpg', 'rb')
tb = telebot.TeleBot(TOKEN) tb = telebot.TeleBot(TOKEN)
@ -220,4 +219,3 @@ class TestTeleBot:
def test_not_string(self): def test_not_string(self):
i1 = 10 i1 = 10
assert not util.is_string(i1) assert not util.is_string(i1)