Test Inventory only when in HOST_BOOTED state

The current test code initiate poweron but doesn't wait for
HOST_BOOTED. To make sure that all the data are populated
the state needs to be HOST_BOOTED.

Resolves openbmc/openbmc-test-automation#96

Change-Id: I5417734059ca3a0fdf24bf408c05c79ac374f48f
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_inventory.robot b/tests/test_inventory.robot
index 3ebaf8a..933fa98 100644
--- a/tests/test_inventory.robot
+++ b/tests/test_inventory.robot
@@ -4,6 +4,7 @@
 Resource          ../lib/rest_client.robot
 Resource          ../lib/utils.robot
 Resource          ../lib/openbmc_ffdc.robot
+Resource          ../lib/boot/boot_resource_master.robot
 Library           ../lib/utilities.py
 Library           String
 Library           Collections
@@ -65,7 +66,7 @@
 *** Keywords ***
 
 Setup The Suite
-	Initiate Power On
+	BMC Power On
 
 	@{ret} = 	Get Inventory List 	${OPENBMC_MODEL}
 	Set Suite Variable 	@{sys_inv} 	@{ret}