aboutsummaryrefslogtreecommitdiffstats
path: root/moonclient
diff options
context:
space:
mode:
authorRuan HE <ruan.he@orange.com>2015-09-16 14:53:19 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-09-16 14:53:20 +0000
commit65f87a52c2eb5583dd9277235fa196cf7354f9ed (patch)
tree72442c08c8c0ff03752da748597238f498ee600b /moonclient
parentc583b9854f4b3c0f16fde106197d26abcbba0725 (diff)
parent1a1ee798110b65d15c28279cd47578e752b95d75 (diff)
Merge "Add more checks when setting tenant."
Diffstat (limited to 'moonclient')
-rw-r--r--moonclient/moonclient/tests/tests_tenants.json24
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": "",