diff --git a/tests/test_inlinekeyboardmarkup.py b/tests/test_inlinekeyboardmarkup.py index 3a4baf974..0813b3d19 100644 --- a/tests/test_inlinekeyboardmarkup.py +++ b/tests/test_inlinekeyboardmarkup.py @@ -33,8 +33,11 @@ class InlineKeyboardMarkupTest(BaseTest, unittest.TestCase): """This object represents Tests for Telegram KeyboardButton.""" def setUp(self): - self.inline_keyboard = [[telegram.InlineKeyboardButton(text='button1'), - telegram.InlineKeyboardButton(text='button2')]] + self.inline_keyboard = \ + [[telegram.InlineKeyboardButton(text='button1', + callback_data='data1'), + telegram.InlineKeyboardButton(text='button2', + callback_data='data2')]] self.json_dict = { 'inline_keyboard': [[self.inline_keyboard[0][0].to_dict(),