remove return from _run_test

This commit is contained in:
debugtalk
2018-02-19 23:41:37 +08:00
parent e880209a7d
commit 90719db8de
3 changed files with 5 additions and 7 deletions

View File

@@ -166,8 +166,6 @@ class Runner(object):
finally:
setup_teardown(teardown_actions)
return True
def extract_output(self, output_variables_list):
""" extract output variables
"""

View File

@@ -15,7 +15,7 @@ class ApiTestCase(unittest.TestCase):
def runTest(self):
""" run testcase and check result.
"""
self.assertTrue(self.test_runner._run_test(self.testcase_dict))
self.test_runner._run_test(self.testcase_dict)
class ApiTestSuite(unittest.TestSuite):
""" create test suite with a testset, it may include one or several testcases.