From 77dbe92ad8d1adcd99b7c5c4e786bd3330b4795b Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Thu, 30 Nov 2017 09:16:00 -0800 Subject: [PATCH] minor: Remove some dead code in BotTestCaseBase. --- zulip_bots/zulip_bots/test_lib.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/zulip_bots/zulip_bots/test_lib.py b/zulip_bots/zulip_bots/test_lib.py index 4565bdc..2bca5ee 100755 --- a/zulip_bots/zulip_bots/test_lib.py +++ b/zulip_bots/zulip_bots/test_lib.py @@ -153,8 +153,6 @@ class BotTestCase(StubBotTestCase): self.mock_client.get_storage.return_value = {'result': 'success', 'storage': {}} self.mock_client.update_storage.return_value = {'result': 'success'} self.mock_bot_handler.storage = StateHandler(self.mock_client) - self.mock_bot_handler.send_message.return_value = {'id': 42} - self.mock_bot_handler.send_reply.return_value = {'id': 42} self.message_handler = get_bot_message_handler(self.bot_name) def tearDown(self):