Fix FOR loop syntax and typo in code documentation
Change-Id: I5628f2de61924286cde2664a64ff54e0414eb0e4
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/network/test_host_network_interfaces.robot b/network/test_host_network_interfaces.robot
index 715cd2a..bf4a126 100644
--- a/network/test_host_network_interfaces.robot
+++ b/network/test_host_network_interfaces.robot
@@ -24,8 +24,9 @@
Printn
REST Power On
@{interface_names}= Get OS Network Interface Names
- :FOR ${interface_name} IN @{interface_names}
- \ ${ethtool_dict}= Get OS Ethtool ${interface_name}
- \ Run Keyword If ${FAIL_ON__LINK_DOWN} == 1
- \ ... Should Be Equal ${ethtool_dict['link_detected']} yes
- \ ... msg=Link ${interface_name} is down.
+ FOR ${interface_name} IN @{interface_names}
+ ${ethtool_dict}= Get OS Ethtool ${interface_name}
+ Run Keyword If ${FAIL_ON__LINK_DOWN} == 1
+ ... Should Be Equal ${ethtool_dict['link_detected']} yes
+ ... msg=Link ${interface_name} is down.
+ END