summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2016-11-07 17:02:04 +0800
committerwu.zhihui <wu.zhihui1@zte.com.cn>2016-11-07 17:02:04 +0800
commit6105c711e5d83d30b5733e7fec49d29a91520c26 (patch)
tree9a46c06d938f26bd82e93ea3a00038be53d6db7c /tests
parentc7761e0760aaacb801478308b6774dccb33cbf2e (diff)
rename test_cases/ to test_plan/
JIRA: QTIP-131 Change-Id: I12c63b4f0ff0167073a0819bdb5d63ca0c6f06fb Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'tests')
-rw-r--r--tests/args_handler_test.py2
-rw-r--r--tests/cli_test.py6
2 files changed, 4 insertions, 4 deletions
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):