Fix inventory test cases
Fixes:
- Remove "Manufacturer" checking from test.
- Update with new xyz "Is OS Booted" keyword.
Resolves openbmc/openbmc-test-automation#882
Change-Id: Ic8bde8e18bd59d6940c1d4136ddb2efe89318883
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_inventory.robot b/tests/test_inventory.robot
index 0fb5f76..32a2d9c 100644
--- a/tests/test_inventory.robot
+++ b/tests/test_inventory.robot
@@ -98,9 +98,6 @@
# }
${properties}= Get Inventory system/chassis/motherboard
Should Not Be Equal As Strings
- ... ${properties["data"]["Manufacturer"]} 0000000000000000
- ... msg=motherboard field invalid.
- Should Not Be Equal As Strings
... ${properties["data"]["PartNumber"]} 0000000
... msg=motherboard part number invalid.
Should Not Be Equal As Strings
@@ -448,10 +445,10 @@
[Documentation] Verify Inventory list before and after reboot.
Initiate Host Boot
- Wait Until Keyword Succeeds 10 min 10 sec Is OS Starting
+ Wait Until Keyword Succeeds 10 min 10 sec Is OS Booted
${inv_before}= Get URL List ${HOST_INVENTORY_URI}
Initiate Host Reboot
- Wait Until Keyword Succeeds 10 min 10 sec Is OS Starting
+ Wait Until Keyword Succeeds 10 min 10 sec Is OS Booted
${inv_after}= Get URL List ${HOST_INVENTORY_URI}
Lists Should Be Equal ${inv_before} ${inv_after}