From 61fa6da547405d9bfceb63d0daab56c6f8f62662 Mon Sep 17 00:00:00 2001 From: Michal Mielewczyk Date: Wed, 6 Apr 2022 10:18:49 +0200 Subject: [PATCH] test api: add missing cli error messages Signed-off-by: Michal Mielewczyk --- test/functional/api/cas/cli_messages.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/functional/api/cas/cli_messages.py b/test/functional/api/cas/cli_messages.py index b277241..e5bcd78 100644 --- a/test/functional/api/cas/cli_messages.py +++ b/test/functional/api/cas/cli_messages.py @@ -123,6 +123,14 @@ cache_dirty_shutdown = [ r"Alternatively, if you wish to clear metadata anyway, please use \'--force\' option\." ] +missing_param = [ + r"Option \'.+\' is missing" +] + +disallowed_param = [ + r"Unrecognized option \S+" +] + def check_stderr_msg(output: Output, expected_messages): return __check_string_msg(output.stderr, expected_messages)