rename function name: _run_test => run_test

This commit is contained in:
debugtalk
2018-02-25 23:32:36 +08:00
parent 81457dea93
commit e8ce54864b
3 changed files with 7 additions and 7 deletions

View File

@@ -92,7 +92,7 @@ class Runner(object):
if skip_reason:
raise SkipTest(skip_reason)
def _run_test(self, testcase_dict):
def run_test(self, testcase_dict):
""" run single testcase.
@param (dict) testcase_dict
{

View File

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