test api: add err msg for ops forbidden in standby

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk 2022-04-14 10:24:51 +02:00
parent cfb4841ddc
commit 46de8f21f6

View File

@ -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)