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
|
@ -98,7 +98,7 @@ def main():
|
|||
for test in tests:
|
||||
if isinstance(test, TestCase):
|
||||
# Exclude test base class from being tested.
|
||||
if test.__class__.__name__ not in ['StubBotTestCase', 'BotTestCase']:
|
||||
if test.__class__.__name__ != 'BotTestCase':
|
||||
filtered_tests.addTest(test)
|
||||
else:
|
||||
filtered_tests.addTest(filter_tests(test))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue