From 456fcf8a0b684e787a5af2d743830dbddf3878fc Mon Sep 17 00:00:00 2001 From: "zhifeng.jiang" Date: Thu, 13 Oct 2016 23:57:41 +0800 Subject: Unit test bugfix: Remove the zte-pod1 in unit test. Change-Id: I5e8be7d22800f67e475660fa1a557af62e8c9b1f Signed-off-by: zhifeng.jiang --- tests/cli_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/cli_test.py') diff --git a/tests/cli_test.py b/tests/cli_test.py index 12d0abb0..43a11089 100644 --- a/tests/cli_test.py +++ b/tests/cli_test.py @@ -11,7 +11,7 @@ class TestClass: '-f', 'compute'], "You have specified a lab that is not present in test_cases"), (['-l', - 'zte-pod1', + 'default', '-f', 'test'], "Test File Does not exist in test_list") ]) @@ -26,10 +26,10 @@ class TestClass: @pytest.mark.parametrize("test_input, expected", [ (['-l', - 'zte-pod1', + 'default', '-f', - 'storage'], [('fuel', '/home', './test_cases/zte-pod1/storage/fio_bm.yaml'), - ('fuel', '/home', './test_cases/zte-pod1/storage/fio_vm.yaml')]) + 'storage'], [('fuel', '/home', './test_cases/default/storage/fio_bm.yaml'), + ('fuel', '/home', './test_cases/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