From 64656c1ab4609802750c4e93b5405b5911b52cac Mon Sep 17 00:00:00 2001 From: debugtalk Date: Thu, 26 Jul 2018 15:27:39 +0800 Subject: [PATCH] update test data filename --- ...e_import_functions.yml => demo_testset_functions.yml} | 0 tests/test_runner.py | 9 +-------- 2 files changed, 1 insertion(+), 8 deletions(-) rename tests/data/{demo_testset_template_import_functions.yml => demo_testset_functions.yml} (100%) diff --git a/tests/data/demo_testset_template_import_functions.yml b/tests/data/demo_testset_functions.yml similarity index 100% rename from tests/data/demo_testset_template_import_functions.yml rename to tests/data/demo_testset_functions.yml diff --git a/tests/test_runner.py b/tests/test_runner.py index 27606b89..5aa1b83f 100644 --- a/tests/test_runner.py +++ b/tests/test_runner.py @@ -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"])