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:
parent
08b4ebf597
commit
b406150a56
3 changed files with 8 additions and 8 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue