mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-26 19:00:05 +08:00
fix unittests
This commit is contained in:
@@ -470,7 +470,6 @@ class TestHttpRunner(ApiServerUnittest):
|
||||
self.assertEqual(summary["details"][1]["stat"]["total"], 1)
|
||||
self.assertEqual(summary["details"][2]["stat"]["total"], 1)
|
||||
|
||||
|
||||
def test_run_testcase_hardcode(self):
|
||||
for testcase_file_path in self.testcase_file_path_list:
|
||||
summary = self.runner.run(testcase_file_path)
|
||||
@@ -479,7 +478,6 @@ class TestHttpRunner(ApiServerUnittest):
|
||||
self.assertEqual(summary["stat"]["teststeps"]["total"], 3)
|
||||
self.assertEqual(summary["stat"]["teststeps"]["successes"], 3)
|
||||
|
||||
|
||||
def test_run_testcase_template_variables(self):
|
||||
testcase_file_path = os.path.join(
|
||||
os.getcwd(), 'tests/data/demo_testcase_variables.yml')
|
||||
|
||||
Reference in New Issue
Block a user