From 64e4b8d9a75bebc3ce6c31f607a1342752b53f89 Mon Sep 17 00:00:00 2001 From: Kamil Gierszewski Date: Mon, 23 Sep 2024 15:46:49 +0200 Subject: [PATCH] tests: fix test_cli_help test Signed-off-by: Kamil Gierszewski --- test/functional/tests/cli/test_cli_help_and_version.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/functional/tests/cli/test_cli_help_and_version.py b/test/functional/tests/cli/test_cli_help_and_version.py index 2315973..24eebe8 100644 --- a/test/functional/tests/cli/test_cli_help_and_version.py +++ b/test/functional/tests/cli/test_cli_help_and_version.py @@ -1,5 +1,6 @@ # # Copyright(c) 2020-2022 Intel Corporation +# Copyright(c) 2024 Huawei Technologies Co., Ltd. # 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") + (" -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") + (" -H" if shortcut else " --help"))