summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2016-11-14 16:58:38 +0800
committerwu.zhihui <wu.zhihui1@zte.com.cn>2016-11-14 16:58:38 +0800
commite59f577230adc1eceb8f7b67b8a827dc80e6b5c7 (patch)
tree126e27f4041e1b9ff2e7fd68e47e5dbfb7c7ccf8 /tests
parent42cbcd2e3e67cc2893ba765b89441951d104922a (diff)
bugfix: correct the path of test_plan
JIRA: QTIP-161 Change-Id: If591c6b6d6ca1d4d7b721115c93c7b58ff7d819b 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.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/args_handler_test.py b/tests/args_handler_test.py
index 625a42f5..76c0646e 100644
--- a/tests/args_handler_test.py
+++ b/tests/args_handler_test.py
@@ -13,7 +13,7 @@ import utils.args_handler
class TestClass:
@pytest.mark.parametrize("test_input, expected", [
- (['fuel', '/home', './test_plan/default/network/iperf_bm.yaml'],
+ (['fuel', '/home', 'benchmarks/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 255c2a37..cc8c7630 100644
--- a/tests/cli_test.py
+++ b/tests/cli_test.py
@@ -30,8 +30,8 @@ class TestClass:
(['-l',
'default',
'-f',
- 'storage'], [('fuel', '/home', './test_plan/default/storage/fio_bm.yaml'),
- ('fuel', '/home', './test_plan/default/storage/fio_vm.yaml')])
+ 'storage'], [('fuel', '/home', 'benchmarks/test_plan/default/storage/fio_bm.yaml'),
+ ('fuel', '/home', 'benchmarks/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):