diff options
Diffstat (limited to 'robot/resources/aai/create_tenant.robot')
-rw-r--r-- | robot/resources/aai/create_tenant.robot | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/robot/resources/aai/create_tenant.robot b/robot/resources/aai/create_tenant.robot index 5dc34536..4f6f9e8f 100644 --- a/robot/resources/aai/create_tenant.robot +++ b/robot/resources/aai/create_tenant.robot @@ -85,7 +85,8 @@ Get Cloud Region Update Tenant Dictionary [Arguments] ${dict} ${json} @{list}= Copy List ${json['tenant']} - :FOR ${map} IN @{list} - \ ${status} ${tenant_id}= Run Keyword And Ignore Error Get From Dictionary ${map} tenant-id - \ Run Keyword If '${status}' == 'PASS' Set To Dictionary ${dict} ${tenant_id}=${map} + FOR ${map} IN @{list} + ${status} ${tenant_id}= Run Keyword And Ignore Error Get From Dictionary ${map} tenant-id + Run Keyword If '${status}' == 'PASS' Set To Dictionary ${dict} ${tenant_id}=${map} + END Log ${dict} |