mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-21 12:33:59 +08:00
rename function name: _run_test => run_test
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user