Address issue for deprecated syntax
Change from :FOR to FOR/END to address a new WARNING in
the new robot version.
Sample warning message as mention below.
FOR loop starting on line 26: For loop header
': FOR' is deprecated. Use 'FOR' instead.
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
Change-Id: I1720b3c7e6fbbafda3fca6f91edf97c80fdd9f41
diff --git a/ipmi/test_ipmi_sdr.robot b/ipmi/test_ipmi_sdr.robot
index 01c23aa..f14a57b 100755
--- a/ipmi/test_ipmi_sdr.robot
+++ b/ipmi/test_ipmi_sdr.robot
@@ -273,10 +273,12 @@
# component_name Component name (e.g. "core", "dimm", etc.).
${component_uri_list}= Get Component URIs ${component_name}
- : FOR ${uri} IN @{component_uri_list}
- \ ${component_name}= Fetch From Right ${uri} motherboard/
- \ Log To Console ${component_name}
- \ Verify SDR ${component_name}
+
+ FOR ${uri} IN @{component_uri_list}
+ ${component_name}= Fetch From Right ${uri} motherboard/
+ Log To Console ${component_name}
+ Verify SDR ${component_name}
+ END
Suite Setup Execution