(self)
| 284 | assert ret_msg.message_id |
| 285 | |
| 286 | def test_send_message_with_markup(self): |
| 287 | text = 'CI Test Message' |
| 288 | tb = telebot.TeleBot(TOKEN) |
| 289 | markup = types.ReplyKeyboardMarkup() |
| 290 | markup.add(types.KeyboardButton("1")) |
| 291 | markup.add(types.KeyboardButton("2")) |
| 292 | ret_msg = tb.send_message(CHAT_ID, text, disable_notification=True, reply_markup=markup) |
| 293 | assert ret_msg.message_id |
| 294 | |
| 295 | def test_send_message_with_markup_use_string(self): |
| 296 | text = 'CI Test Message' |
nothing calls this directly
no test coverage detected