summaryrefslogtreecommitdiffstats
path: root/robot/resources/dcae/inventory.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/dcae/inventory.robot')
-rw-r--r--robot/resources/dcae/inventory.robot5
1 files changed, 4 insertions, 1 deletions
diff --git a/robot/resources/dcae/inventory.robot b/robot/resources/dcae/inventory.robot
index 647c3780..44f8202d 100644
--- a/robot/resources/dcae/inventory.robot
+++ b/robot/resources/dcae/inventory.robot
@@ -40,4 +40,7 @@ Get Blueprint From Inventory
${headers}= Create Dictionary content-type=application/json
${session}= Create Session inventory_session ${INVENTORY_SERVER}
${resp}= Get Request inventory_session ${INVENTORY_ENDPOINT}?typeName=${typeName} headers=${headers}
- [Return] ${resp} \ No newline at end of file
+ Should Not Be Equal As Integers ${resp.json().get('totalCount')} 0 msg=Blueprint ${typeName} does not exist in inventory!
+ [Return] ${resp}
+
+