summaryrefslogtreecommitdiffstats
path: root/robot/resources/aai
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-09-16 07:50:06 -0500
committerDaniel Rose <dr695h@att.com>2019-09-16 14:41:28 +0000
commit36b433cedc9da67701c731e8a80441f16bf6cdb1 (patch)
treea7ac649eab4af7b72d6e0f1a34a8458d6dabd8ff /robot/resources/aai
parent0752bf9766b678407df1ad0c242bb6cda0879326 (diff)
Add aai model size post install check
Issue-ID: INT-1139 Change-Id: I95a63b7ab3ea29433e8f24cb1839349de7587faa Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources/aai')
-rw-r--r--robot/resources/aai/models.robot2
1 files changed, 2 insertions, 0 deletions
diff --git a/robot/resources/aai/models.robot b/robot/resources/aai/models.robot
index d8de2a40..4c392d6e 100644
--- a/robot/resources/aai/models.robot
+++ b/robot/resources/aai/models.robot
@@ -14,5 +14,7 @@ Validate Size Of AAI Models
[Documentation] Query and Validates A&AI Models
[Arguments] ${min_size}=100
${resp}= AAI.Run Get Request ${AAI_FRONTEND_ENDPOINT} ${INDEX_PATH}${MODELS_SPEC_PATH} auth=${GLOBAL_AAI_AUTHENTICATION}
+ Should Be Equal As Strings ${resp.status_code} 200
${count}= Evaluate sys.getsizeof(${resp.json()}) sys
+ # ${count} is number of objects in array
Should Be True ${count} > ${min_size}