tests: fix test_cli_help test
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
This commit is contained in:
parent
d0d0fdb9c8
commit
64e4b8d9a7
@ -1,5 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Copyright(c) 2020-2022 Intel Corporation
|
# Copyright(c) 2020-2022 Intel Corporation
|
||||||
|
# Copyright(c) 2024 Huawei Technologies Co., Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -60,7 +61,7 @@ def test_cli_help(shortcut):
|
|||||||
|
|
||||||
output = TestRun.executor.run("casadm" + (" -L" if shortcut else " --list-caches")
|
output = TestRun.executor.run("casadm" + (" -L" if shortcut else " --list-caches")
|
||||||
+ (" -H" if shortcut else " --help"))
|
+ (" -H" if shortcut else " --help"))
|
||||||
check_stdout_msg(output, list_help)
|
check_stdout_msg(output, list_caches_help)
|
||||||
|
|
||||||
output = TestRun.executor.run("casadm" + (" -P" if shortcut else " --stats")
|
output = TestRun.executor.run("casadm" + (" -P" if shortcut else " --stats")
|
||||||
+ (" -H" if shortcut else " --help"))
|
+ (" -H" if shortcut else " --help"))
|
||||||
|
Loading…
Reference in New Issue
Block a user