rename function name, resolve conflict with unittest

This commit is contained in:
debugtalk
2017-11-02 13:32:51 +08:00
parent 6e65f5cf0c
commit 9d50b1635c
4 changed files with 16 additions and 16 deletions

View File

@@ -25,7 +25,7 @@ class TestRunner(ApiServerUnittest):
def test_run_single_testcase(self):
for testcase_file_path in self.testcase_file_path_list:
testcases = testcase.load_tests(testcase_file_path)
testcases = testcase._load_file(testcase_file_path)
test = testcases[0]["test"]
self.assertTrue(self.test_runner._run_test(test))