mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 15:37:35 +08:00
update test data filename
This commit is contained in:
@@ -250,14 +250,7 @@ class TestRunner(ApiServerUnittest):
|
|||||||
|
|
||||||
def test_run_testset_template_import_functions(self):
|
def test_run_testset_template_import_functions(self):
|
||||||
testcase_file_path = os.path.join(
|
testcase_file_path = os.path.join(
|
||||||
os.getcwd(), 'tests/data/demo_testset_template_import_functions.yml')
|
os.getcwd(), 'tests/data/demo_testset_functions.yml')
|
||||||
runner = HttpRunner().run(testcase_file_path)
|
|
||||||
summary = runner.summary
|
|
||||||
self.assertTrue(summary["success"])
|
|
||||||
|
|
||||||
def test_run_testsets_template_import_functions(self):
|
|
||||||
testcase_file_path = os.path.join(
|
|
||||||
os.getcwd(), 'tests/data/demo_testset_template_import_functions.yml')
|
|
||||||
runner = HttpRunner().run(testcase_file_path)
|
runner = HttpRunner().run(testcase_file_path)
|
||||||
summary = runner.summary
|
summary = runner.summary
|
||||||
self.assertTrue(summary["success"])
|
self.assertTrue(summary["success"])
|
||||||
|
|||||||
Reference in New Issue
Block a user