Skip to content

Commit 0a856f4

Browse files
committed
Fix test case.
1 parent bbe53b5 commit 0a856f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_telebot.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def test_edit_markup(self):
340340
ret_msg = tb.send_message(CHAT_ID, text, disable_notification=True, reply_markup=markup)
341341
markup.add(types.InlineKeyboardButton("Google2", url="http://www.google.com"))
342342
markup.add(types.InlineKeyboardButton("Yahoo2", url="http://www.yahoo.com"))
343-
new_msg = tb.edit_message_replay_markup(chat_id=CHAT_ID, message_id=ret_msg.message_id, reply_markup=markup)
343+
new_msg = tb.edit_message_reply_markup(chat_id=CHAT_ID, message_id=ret_msg.message_id, reply_markup=markup)
344344
assert new_msg.message_id
345345

346346
def create_text_message(self, text):

0 commit comments

Comments
 (0)