bot tests: Eliminate BotTestCaseBase.

We now just put `test_bot_usage` in StubBotTestCase and have
BotTestCase inherit from that.
This commit is contained in:
Steve Howell 2017-11-30 16:24:20 -08:00 committed by showell
parent 205f7c16c7
commit fc251460fa
3 changed files with 10 additions and 12 deletions

View file

@ -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', 'BotTestCaseBase']:
if test.__class__.__name__ not in ['StubBotTestCase', 'BotTestCase']:
filtered_tests.addTest(test)
else:
filtered_tests.addTest(filter_tests(test))