Fix FOR loop syntax and typo in code documentation
Change-Id: I5628f2de61924286cde2664a64ff54e0414eb0e4
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/bmc_network_utils.robot b/lib/bmc_network_utils.robot
index 9ac2af1..6e6860a 100644
--- a/lib/bmc_network_utils.robot
+++ b/lib/bmc_network_utils.robot
@@ -725,7 +725,7 @@
[Arguments] ${channel_list} ${channel_config_json}
# Description of Arguments
- # ${channel_list} - list Contains all availabe active channels.
+ # ${channel_list} - list Contains all available active channels.
# ${channel_config_json} - output of /usr/share/ipmi-providers/channel_config.json file.
FOR ${channel_number} ${values} IN &{channel_config_json}
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