Beispiel #1
0
    def test_get_alert_id(self) -> None:
        bot_test_instance = MentionHandler()
        bot_test_instance.access_token = 'TEST'
        bot_test_instance.account_id = 'TEST'

        with self.mock_http_conversation('get_alert_id'):
            self.assertEqual(bot_test_instance.get_alert_id('TEST'), 'TEST')
Beispiel #2
0
    def test_get_alert_id(self) -> None:
        bot_test_instance = MentionHandler()
        bot_test_instance.access_token = "TEST"
        bot_test_instance.account_id = "TEST"

        with self.mock_http_conversation("get_alert_id"):
            self.assertEqual(bot_test_instance.get_alert_id("TEST"), "TEST")