From 67b3529140d15ca5c5720dad5ad4df92c8c5f19d Mon Sep 17 00:00:00 2001 From: Viraat Chandra Date: Fri, 29 Dec 2017 21:55:33 +0530 Subject: [PATCH] zulip_bots: Cleaned up test code for Mention bot. --- .../zulip_bots/bots/mention/test_mention.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/zulip_bots/zulip_bots/bots/mention/test_mention.py b/zulip_bots/zulip_bots/bots/mention/test_mention.py index cbfbf9e..3e0d238 100644 --- a/zulip_bots/zulip_bots/bots/mention/test_mention.py +++ b/zulip_bots/zulip_bots/bots/mention/test_mention.py @@ -4,31 +4,13 @@ class TestMentionBot(BotTestCase): bot_name = "mention" def test_bot_responds_to_empty_message(self) -> None: - # Offline query. with self.mock_config_info({'access_token': '12345'}): self.verify_reply('', 'Empty Mention Query') def test_help_query(self) -> None: - # Offline query. with self.mock_config_info({'access_token': '12345'}): self.verify_reply('help', ''' This is a Mention API Bot which will find mentions of the given keyword throughout the web. Version 1.00 ''') - - # Offline query. - with self.mock_config_info({'access_token': '12345'}): - self.verify_reply('hElp', ''' - This is a Mention API Bot which will find mentions - of the given keyword throughout the web. - Version 1.00 - ''') - - # Offline query. - with self.mock_config_info({'access_token': '12345'}): - self.verify_reply('HELP', ''' - This is a Mention API Bot which will find mentions - of the given keyword throughout the web. - Version 1.00 - ''')