summaryrefslogtreecommitdiffstats
path: root/robot/resources/dcae
diff options
context:
space:
mode:
authorKatarzyna Wasiel <katarzyna.wasiel@nokia.com>2021-02-10 08:50:57 +0100
committerMarcin Przybysz <marcin.przybysz@nokia.com>2021-02-26 10:17:59 +0000
commitd1bc6cbd63f9cd7126baded2a40e78ebb67f65e1 (patch)
treeabcbbd961f411cef1d1cf590a863b812d7e5cce2 /robot/resources/dcae
parentc6232933e3c44de7dba7f24cd66ee944816b2941 (diff)
Add DCAE MOD smoke/verification test using simple app
Issue-ID: INT-1855 Signed-off-by: Katarzyna Wasiel <katarzyna.wasiel@nokia.com> Change-Id: Idbd385547cd5d0ef9ce7b53060d84ea8d9031e06
Diffstat (limited to 'robot/resources/dcae')
-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}
+
+