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/telemetry_service/test_telemetry_report.robot b/redfish/telemetry_service/test_telemetry_report.robot
index 7a18482..b5e2d17 100644
--- a/redfish/telemetry_service/test_telemetry_report.robot
+++ b/redfish/telemetry_service/test_telemetry_report.robot
@@ -108,7 +108,7 @@
${regex_matching_output}= Get Regexp Matches ${item} ${value}
IF ${regex_matching_output} != []
Set To Dictionary ${english_actual_teleDef} ${key}=${regex_matching_output}[0]
- Exit For Loop
+ BREAK
END
END