zulip_bots: Make BotTestCase the only helper library.

Renames StubBotTestCase to BotTestCase and removes
legacy code for supporting both names.
This commit is contained in:
Robert Hönig 2017-12-14 11:24:11 +01:00 committed by showell
parent a475077da9
commit b306324bfa
24 changed files with 51 additions and 57 deletions

View file

@ -77,13 +77,7 @@ class StubBotHandler:
if len(responses) > 1:
raise Exception('The bot is giving too many responses for some reason.')
class StubBotTestCase(TestCase):
'''
The goal for this class is to eventually replace
BotTestCase for places where we may want more
fine-grained control and less heavy setup.
'''
class BotTestCase(TestCase):
bot_name = ''
def _get_handlers(self):