From 0a856f4e83f654a1cf1d53768b1b8765bafb4155 Mon Sep 17 00:00:00 2001 From: eternnoir Date: Sat, 23 Apr 2016 09:29:48 +0800 Subject: [PATCH] Fix test case. --- tests/test_telebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_telebot.py b/tests/test_telebot.py index d342bf9..2dc5319 100644 --- a/tests/test_telebot.py +++ b/tests/test_telebot.py @@ -340,7 +340,7 @@ class TestTeleBot: ret_msg = tb.send_message(CHAT_ID, text, disable_notification=True, reply_markup=markup) markup.add(types.InlineKeyboardButton("Google2", url="http://www.google.com")) markup.add(types.InlineKeyboardButton("Yahoo2", url="http://www.yahoo.com")) - new_msg = tb.edit_message_replay_markup(chat_id=CHAT_ID, message_id=ret_msg.message_id, reply_markup=markup) + new_msg = tb.edit_message_reply_markup(chat_id=CHAT_ID, message_id=ret_msg.message_id, reply_markup=markup) assert new_msg.message_id def create_text_message(self, text):