update test data filename

This commit is contained in:
httprunner
2018-07-26 15:27:39 +08:00
parent 29073d7111
commit f3ef2ec821
2 changed files with 1 additions and 8 deletions

View File

@@ -250,14 +250,7 @@ class TestRunner(ApiServerUnittest):
def test_run_testset_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)
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')
os.getcwd(), 'tests/data/demo_testset_functions.yml')
runner = HttpRunner().run(testcase_file_path)
summary = runner.summary
self.assertTrue(summary["success"])