UUID inventory verification
UUID is populated in VPD and the inventory will be non empty string
value.
Change-Id: I568dbede99fc5682e9600d3ab4bd475023f994ea
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_inventory.robot b/tests/test_inventory.robot
index 025eb2c..08ed746 100644
--- a/tests/test_inventory.robot
+++ b/tests/test_inventory.robot
@@ -53,6 +53,26 @@
... msg=BMC planar serial number invalid.
+Verify UUID Entry
+ [Documentation] UUID entry should exist in BMC planar property.
+ [Tags] Verify_UUID_Entry
+ # Example:
+ # "/xyz/openbmc_project/inventory/system/chassis/motherboard/boxelder/bmc":
+ # {
+ # "BuildDate": "",
+ # "FieldReplaceable": 0,
+ # "Manufacturer": "IBM",
+ # "Model": "",
+ # "PartNumber": "01DH051",
+ # "Present": 1,
+ # "PrettyName": "BMC PLANAR ",
+ # "SerialNumber": "000000000000"
+ # "UUID": ""
+ # },
+ ${json_data}= Get Inventory system/chassis/motherboard/boxelder/bmc
+ Should Not Be Empty ${json_data["data"]["UUID"]}
+
+
Verify Boxelder MAC Address Property Is Populated
[Documentation] Boxelder should be present by default.
[Tags] Verify_Boxelder_MAC_Address_Property_Is_Populated