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:
Abhijeet Kaur 2017-06-08 08:19:42 +05:30 committed by showell
parent 08b4ebf597
commit b406150a56
3 changed files with 8 additions and 8 deletions

View file

@ -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()