Fix inventory functional test check
Resolves openbmc/openbmc-test-automation#543
Change-Id: Icb387bbbdc1c23c2a426e1dcdbbde6ff6e5eba81
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_inventory.robot b/tests/test_inventory.robot
index 841ac30a..67d68fb 100644
--- a/tests/test_inventory.robot
+++ b/tests/test_inventory.robot
@@ -157,7 +157,7 @@
:FOR ${core_uri} IN @{core_list}
\ ${status}= Run Keyword And Return Status
... Check URL Property If Functional ${core_uri}
- \ Continue For Loop If '${status}' == '${True}'
+ \ Continue For Loop If '${status}' == '${False}'
\ ${present}= Read Attribute ${core_uri} Present
\ Should Be True ${present}
... msg=${core_uri} is functional but not present.
@@ -186,7 +186,7 @@
:FOR ${dimm_uri} IN @{dimm_list}
\ ${status}= Run Keyword And Return Status
... Check URL Property If Functional ${dimm_uri}
- \ Continue For Loop If '${status}' == '${True}'
+ \ Continue For Loop If '${status}' == '${False}'
\ ${present}= Read Attribute ${dimm_uri} Present
\ Should Be True ${present}
... msg=${dimm_uri} is functional but not present.