mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-03 20:47:10 +08:00
rename function name, resolve conflict with unittest
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user