bot tests: Eliminate BotTestCaseBase.
We now just put `test_bot_usage` in StubBotTestCase and have BotTestCase inherit from that.
This commit is contained in:
parent
205f7c16c7
commit
fc251460fa
3 changed files with 10 additions and 12 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', 'BotTestCaseBase']:
|
||||
if test.__class__.__name__ not in ['StubBotTestCase', 'BotTestCase']:
|
||||
filtered_tests.addTest(test)
|
||||
else:
|
||||
filtered_tests.addTest(filter_tests(test))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue