aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/aai/aai_interface.robot
diff options
context:
space:
mode:
authorKeong Lim <keong.lim@huawei.com>2019-03-04 17:15:06 +1100
committerKeong Lim <keong.lim@huawei.com>2019-03-08 17:38:38 +1100
commit3a5d947fa699385b8180c890e96fe67e4a5c1905 (patch)
tree9fb8fb091f05779fca9703d76aa7a769fa8573fe /robot/resources/aai/aai_interface.robot
parentb0e12b4535c7a63f81729f93e5d17d83aff6bc52 (diff)
AAI-2208 Add robot test cases for CCVPN use case
Testing of AAI in CSIT-style regression tests Testing of connectivities in AAI for CCVPN use case Ignore project file of RED tool Expand AAI properties to distinguish different AAI versions Fix bugs in aai_interface.robot Change-Id: Ie459e29aeb44840989360dd2da6858096fcfd358 Issue-ID: AAI-2208 Signed-off-by: Keong Lim <keong.lim@huawei.com>
Diffstat (limited to 'robot/resources/aai/aai_interface.robot')
-rw-r--r--robot/resources/aai/aai_interface.robot4
1 files changed, 2 insertions, 2 deletions
diff --git a/robot/resources/aai/aai_interface.robot b/robot/resources/aai/aai_interface.robot
index b72103d0..c0600064 100644
--- a/robot/resources/aai/aai_interface.robot
+++ b/robot/resources/aai/aai_interface.robot
@@ -68,12 +68,12 @@ Run A&AI Delete Request
Delete A&AI Entity
[Documentation] Deletes an entity in A&AI
[Arguments] ${uri}
- ${get_resp}= Run A&AI Get Request ${VERSIONED_INDEX PATH}${uri}
+ ${get_resp}= Run A&AI Get Request ${VERSIONED_INDEX_PATH}${uri}
Run Keyword If '${get_resp.status_code}' == '200' Delete A&AI Entity Exists ${uri} ${get_resp.json()['resource-version']}
Delete A&AI Entity Exists
[Documentation] Deletes an A&AI entity
[Arguments] ${uri} ${resource_version_id}
- ${put_resp}= Run A&AI Delete Request ${VERSIONED_INDEX PATH}${uri} ${resource_version_id}
+ ${put_resp}= Run A&AI Delete Request ${VERSIONED_INDEX_PATH}${uri} ${resource_version_id}
Should Be Equal As Strings ${put_resp.status_code} 204