Source code for telegram_framework.tests.test_links

from django.test import SimpleTestCase
from telegram_framework import links, bots, messages





    # def test_add_links(self):
    #     """
    #     Test add_links: success
    #     """
    #     bot_links = [
    #         links.on_command(self.some_handler, 'one'),
    #         links.on_command(self.some_handler, 'two')
    #     ]
    #     bot = links.add_links(self.bot, bot_links)
    #     self.assertEqual(2, len(bot.command_handlers))
    #     for link in bot.command_handlers.values():
    #         self.assertEqual(self.some_handler, link.function)