Fixed TC - Verify_Boxelder_MAC_Address_Property_Is_Populated.
Resolves openbmc/openbmc-test-automation#980
Change-Id: Id0a87c324bf57c536786914b290a9f0cee66c756
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/tests/test_inventory.robot b/tests/test_inventory.robot
index 15d2636..76b03b7 100644
--- a/tests/test_inventory.robot
+++ b/tests/test_inventory.robot
@@ -73,8 +73,9 @@
... /sbin/ifconfig -a | grep HWaddr | awk -F'HWaddr ' '{print $2}'
... return_stderr=True
Should Be Empty ${stderr}
- Should Be Equal As Strings ${json_data["data"]["MACAddress"]} ${mac_addr}
- ... msg=MAC address configured incorrectly.
+ Should Be Equal As Strings ${json_data["data"]["MACAddress"]}
+ ... ${mac_addr.strip()} msg=MAC address configured incorrectly.
+ ... ignore_case=True
Verify Chassis Motherboard Properties