From 1a1ee798110b65d15c28279cd47578e752b95d75 Mon Sep 17 00:00:00 2001 From: asteroide Date: Wed, 16 Sep 2015 16:41:29 +0200 Subject: Add more checks when setting tenant. Change-Id: I76d812d94c2c2a9c48ee26395f45a3f130883201 --- moonclient/moonclient/tests/tests_tenants.json | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/moonclient/moonclient/tests/tests_tenants.json b/moonclient/moonclient/tests/tests_tenants.json index ca2d228c..2f24a295 100644 --- a/moonclient/moonclient/tests/tests_tenants.json +++ b/moonclient/moonclient/tests/tests_tenants.json @@ -1,7 +1,7 @@ { "command_options": "-f value", "tests_group": { - "group1": [ + "main": [ { "name": "list tenant", "command": "tenant list", @@ -49,18 +49,32 @@ }, { "name": "set_tenant_authz", - "command": "tenant set --authz $uuid_authz demo", + "command": "tenant set --authz $uuid_authz $uuid", "result": "", - "description": "Connect the authz intra extension to the tenant demo", + "description": "Connect the authz intra extension to the tenant alt_demo", "command_options": "" }, + { + "name": "check authz ie for tenant alt_demo", + "command": "tenant list", + "result": "alt_demo $uuid_authz", + "description": "Check that authz ie has been correctly added for tenant alt_demo ", + "command_options": "-c name -c intra_authz_extension_id -f value" + }, { "name": "set_tenant_admin", - "command": "tenant set --admin $uuid_admin demo", + "command": "tenant set --admin $uuid_admin $uuid", "result": "", - "description": "Connect the admin intra extension to the tenant demo", + "description": "Connect the admin intra extension to the tenant alt_demo", "command_options": "" }, + { + "name": "check admin ie for tenant alt_demo", + "command": "tenant list", + "result": "alt_demo $uuid_admin", + "description": "Check that admin ie has been correctly added for tenant alt_demo ", + "command_options": "-c name -c intra_admin_extension_id -f value" + }, { "name": "delete_admin_intra_extension", "command": "intraextension delete $uuid_admin", -- cgit 1.2.3-korg