diff options
author | asteroide <thomas.duval@orange.com> | 2015-09-16 16:41:29 +0200 |
---|---|---|
committer | asteroide <thomas.duval@orange.com> | 2015-09-16 16:41:29 +0200 |
commit | 1a1ee798110b65d15c28279cd47578e752b95d75 (patch) | |
tree | 33258ef5c42959ac9acdc48d9015de07ab2dd9c0 | |
parent | eaffb0e85c81325387e21f47195a679b63215a83 (diff) |
Add more checks when setting tenant.
Change-Id: I76d812d94c2c2a9c48ee26395f45a3f130883201
-rw-r--r-- | moonclient/moonclient/tests/tests_tenants.json | 24 |
1 files 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,19 +49,33 @@ }, { "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", "result": "", |