Fix for depreciated Continue For Loop If keyword
Changes:
- Continue For Loop If is deprecated since
Robot Framework version 5.*, use IF and CONTINUE instead
Tested:
- Checked using robot dry-run to make sure the
syntax is not broken
Change-Id: I63bba499b2c82394bb3fe2f74405dbacd09a6d0c
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/redfish/managers/test_certificate.robot b/redfish/managers/test_certificate.robot
index 7d00362..20d6782 100644
--- a/redfish/managers/test_certificate.robot
+++ b/redfish/managers/test_certificate.robot
@@ -243,8 +243,7 @@
${match}= Set Variable ${False}
FOR ${Certificates_dict} IN @{Links['Certificates']}
- Continue For Loop If
- ... "${Certificates_dict['@odata.id']}}" != "${match_cert}}"
+ IF "${Certificates_dict['@odata.id']}}" != "${match_cert}}" CONTINUE
${match}= Set Variable ${True}
END