MCPcopy Create free account
hub / github.com/eternnoir/pyTelegramBotAPI / test_reply_to

Method test_reply_to

tests/test_telebot.py:336–341  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

334 assert ret_msg.forward_from
335
336 def test_reply_to(self):
337 text = 'CI reply_to Test Message'
338 tb = telebot.TeleBot(TOKEN)
339 msg = tb.send_message(CHAT_ID, text)
340 ret_msg = tb.reply_to(msg, text + ' REPLY')
341 assert ret_msg.reply_to_message.message_id == msg.message_id
342
343 def test_register_for_reply(self):
344 text = 'CI reply_to Test Message'

Callers

nothing calls this directly

Calls 2

send_messageMethod · 0.95
reply_toMethod · 0.95

Tested by

no test coverage detected