Fix for deprecated Exit For Loop keyword
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: Ib12fecbc996ba14f4cabd7677f85a90fa3f2b39b
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/redfish/update_service/test_firmware_inventory.robot b/redfish/update_service/test_firmware_inventory.robot
index e1d3632..001c2cb 100644
--- a/redfish/update_service/test_firmware_inventory.robot
+++ b/redfish/update_service/test_firmware_inventory.robot
@@ -104,8 +104,8 @@
# 3rd comparison of BMC version and verify FirmwareInventory bmc version.
# Example:
# "Version": 2.7.0-dev-19-g9b44ea7
- Exit For Loop If '${resp_resource.dict["Version"]}' == '${manager_bmc_version.strip('"')}'
- Run Keyword If '${entry}' == '${actual_count}' Fail BMC version not there in Firmware Inventory
+ IF '${resp_resource.dict["Version"]}' == '${manager_bmc_version.strip('"')}' BREAK
+ IF '${entry}' == '${actual_count}' Fail BMC version not there in Firmware Inventory
END