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:
parent
a475077da9
commit
b306324bfa
24 changed files with 51 additions and 57 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue