Replace deprecated keyword for IPMI tests
Changes:
- Exit For Loop If is deprecated since
Robot Framework version 5.*, use IF and BREAK instead
Tested:
- Checked using robot dry-run to make sure the
syntax is not broken
Change-Id: Ic1af006f69fc8c440cb834c400449d88047d0637
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/redfish/account_service/test_ipmi_redfish_user.robot b/redfish/account_service/test_ipmi_redfish_user.robot
index 9edc497..00176f8 100644
--- a/redfish/account_service/test_ipmi_redfish_user.robot
+++ b/redfish/account_service/test_ipmi_redfish_user.robot
@@ -333,7 +333,7 @@
${is_empty}= Run Keyword And Return Status
... Should Match Regexp ${name_line} ${empty_name_pattern}
- Exit For Loop If ${is_empty} == ${True}
+ IF ${is_empty} == ${True} BREAK
END
Run Keyword If '${jj}' == '299' Fail msg=A free user ID could not be found.
RETURN ${random_userid}