Code fixes and cleanup in test repository
Changes:
- Fix typo mistake
- Fix TrailingWhitespace
- Fix Tagging mismatch
Tested:
- Tag mismatch command
$ find | grep '\.robot$' | xargs awk -f check_robot_tags.awk
- codespell
- robot custom script
Change-Id: Idb6bac6254c86647934e590f1f581d1f9c7dc11c
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/bios_attr_utils.robot b/lib/bios_attr_utils.robot
index 3520a1f..b485da4 100644
--- a/lib/bios_attr_utils.robot
+++ b/lib/bios_attr_utils.robot
@@ -30,7 +30,7 @@
IF ${type_str}
# Handling the case when the BIOS attribute value is an empty string.
${attr_value_length}= Evaluate len($attr_val.replace('"', ''))
- IF ${attr_value_length}
+ IF ${attr_value_length}
${value}= Set Variable "${attr_val}"
ELSE
${value}= Set Variable ${attr_val}
diff --git a/lib/bmc_network_utils.robot b/lib/bmc_network_utils.robot
index 772b892..76a31ca 100644
--- a/lib/bmc_network_utils.robot
+++ b/lib/bmc_network_utils.robot
@@ -835,7 +835,7 @@
# Description of argument(s):
# channel_number Ethernet channel number, 1 is for eth0 and 2 is for eth1 (e.g. "1").
-
+
${active_channel_config}= Get Active Channel Config
${ethernet_interface}= Set Variable ${active_channel_config['${CHANNEL_NUMBER}']['name']}
${resp}= Redfish.Get Attribute ${REDFISH_NW_ETH_IFACE}${ethernet_interface} DHCPv4