rename function

This commit is contained in:
debugtalk
2018-02-14 22:05:11 +08:00
parent be941250f6
commit 2f83777d9a
4 changed files with 12 additions and 12 deletions

View File

@@ -26,7 +26,7 @@ class TestRunner(ApiServerUnittest):
def test_run_single_testcase(self):
for testcase_file_path in self.testcase_file_path_list:
testcases = testcase._load_file(testcase_file_path)
testcases = testcase.load_file(testcase_file_path)
config_dict = {
"path": testcase_file_path
@@ -150,7 +150,7 @@ class TestRunner(ApiServerUnittest):
def test_bugfix_type_match(self):
testcase_file_path = os.path.join(
os.getcwd(), 'tests/data/test_bugfix.yml')
testcases = testcase._load_file(testcase_file_path)
testcases = testcase.load_file(testcase_file_path)
config_dict = {
"path": testcase_file_path
}