def test_admin_help(self):
"""
Test admin help command
"""
bot = Mock(spec=Bot)
update = self.__get_dummy_update()
AdminCommands._AdminCommands__admin_help( # pylint: disable=no-member, protected-access
bot, update)
self.assertTrue(bot.sendMessage.called)
评论列表
文章目录