From 46de8f21f6e50f3a5e92b285143bc37b774edd6a Mon Sep 17 00:00:00 2001 From: Michal Mielewczyk Date: Thu, 14 Apr 2022 10:24:51 +0200 Subject: [PATCH] test api: add err msg for ops forbidden in standby Signed-off-by: Michal Mielewczyk --- test/functional/api/cas/cli_messages.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/functional/api/cas/cli_messages.py b/test/functional/api/cas/cli_messages.py index e5bcd78..e3cb896 100644 --- a/test/functional/api/cas/cli_messages.py +++ b/test/functional/api/cas/cli_messages.py @@ -131,6 +131,10 @@ disallowed_param = [ r"Unrecognized option \S+" ] +operation_forbiden_in_standby = [ + r"The operation is not permited while the cache is in the standby mode" +] + def check_stderr_msg(output: Output, expected_messages): return __check_string_msg(output.stderr, expected_messages)