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 d45d9c9ab5
commit 68777e93a0
4 changed files with 11 additions and 11 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()