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/ipmi/test_ipmi_general.robot b/ipmi/test_ipmi_general.robot
index 3ddb048..ba05a2b 100644
--- a/ipmi/test_ipmi_general.robot
+++ b/ipmi/test_ipmi_general.robot
@@ -372,7 +372,7 @@
FOR ${system} IN @{systems}
${led_value}= Redfish.Get Attribute ${system} LocationIndicatorActive
# Get attribute return None if IndicatorLED does not exist in the URI.
- Continue For Loop If '${led_value}' == 'None'
+ IF '${led_value}' == 'None' CONTINUE
Should Be True '${led_value}' == '${expected_state}'
END