summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2016-11-08 10:06:33 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-08 10:06:33 +0000
commitaa374b2bac23a89442ef59f3757d40cdf66c3814 (patch)
treedb070ceb0a85ee0cd20f1ac4f43d6cff7567d870 /tests
parent3dff5b4dc848147235120f7befd5b5de29461846 (diff)
parent6105c711e5d83d30b5733e7fec49d29a91520c26 (diff)
Merge "rename test_cases/ to test_plan/"
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):