From 6105c711e5d83d30b5733e7fec49d29a91520c26 Mon Sep 17 00:00:00 2001 From: "wu.zhihui" Date: Mon, 7 Nov 2016 17:02:04 +0800 Subject: rename test_cases/ to test_plan/ JIRA: QTIP-131 Change-Id: I12c63b4f0ff0167073a0819bdb5d63ca0c6f06fb Signed-off-by: wu.zhihui --- tests/args_handler_test.py | 2 +- tests/cli_test.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/args_handler_test.py b/tests/args_handler_test.py index e6500862..a5c2223f 100644 --- a/tests/args_handler_test.py +++ b/tests/args_handler_test.py @@ -13,7 +13,7 @@ import func.args_handler class TestClass: @pytest.mark.parametrize("test_input, expected", [ - (['fuel', '/home', './test_cases/default/network/iperf_bm.yaml'], + (['fuel', '/home', './test_plan/default/network/iperf_bm.yaml'], ['fuel', '/home', "iperf", [('1-server', ['10.20.0.23']), ('2-host', ['10.20.0.24'])], "iperf_bm.yaml", diff --git a/tests/cli_test.py b/tests/cli_test.py index e47d99ad..d558329f 100644 --- a/tests/cli_test.py +++ b/tests/cli_test.py @@ -9,7 +9,7 @@ class TestClass: (['-l', 'zte', '-f', - 'compute'], "You have specified a lab that is not present in test_cases"), + 'compute'], "You have specified a lab that is not present in test_plan"), (['-l', 'default', '-f', @@ -28,8 +28,8 @@ class TestClass: (['-l', 'default', '-f', - 'storage'], [('fuel', '/home', './test_cases/default/storage/fio_bm.yaml'), - ('fuel', '/home', './test_cases/default/storage/fio_vm.yaml')]) + 'storage'], [('fuel', '/home', './test_plan/default/storage/fio_bm.yaml'), + ('fuel', '/home', './test_plan/default/storage/fio_vm.yaml')]) ]) @mock.patch('func.cli.args_handler.prepare_and_run_benchmark') def test_cli_successful(self, mock_args_handler, test_input, expected): -- cgit 1.2.3-korg