mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
bots: Rename BotHandlerApi class to ExternalBotHandler.
This change is done for better understanding of the class functionality from its class name. Now there will be 3 different classes for bots, namely 'ExternalBotHandler', 'FlaskBotHandler' and 'EmbeddedBotHandler'.
This commit is contained in:
@@ -43,8 +43,8 @@ class BotTestCase(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
# type: () -> None
|
||||
# Mocking BotHandlerApi
|
||||
self.patcher = patch('bots_api.bot_lib.BotHandlerApi')
|
||||
# Mocking ExternalBotHandler
|
||||
self.patcher = patch('bots_api.bot_lib.ExternalBotHandler')
|
||||
self.MockClass = self.patcher.start()
|
||||
self.message_handler = self.get_bot_message_handler()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user