diff options
author | asteroide <thomas.duval@orange.com> | 2015-12-01 15:51:17 +0100 |
---|---|---|
committer | asteroide <thomas.duval@orange.com> | 2015-12-01 15:51:17 +0100 |
commit | 1ff4a4915738e7e1981034bb32fb4cfaad24474f (patch) | |
tree | 88bc9d1de1e70ae5d59ba527b5e82a54d751e8d3 /moonclient/moonclient/tests/tests_empty_policy_new_user.json | |
parent | 0975e3186a8aa83e3496f4e6891c8d934bee3d5f (diff) |
Fix an issue when executing all tests at the same time.
Change-Id: I1215c6e005438f19f042a4296fcaf156ea7d0ffe
Diffstat (limited to 'moonclient/moonclient/tests/tests_empty_policy_new_user.json')
-rw-r--r-- | moonclient/moonclient/tests/tests_empty_policy_new_user.json | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/moonclient/moonclient/tests/tests_empty_policy_new_user.json b/moonclient/moonclient/tests/tests_empty_policy_new_user.json index 3e03fdff..7c1d08cd 100644 --- a/moonclient/moonclient/tests/tests_empty_policy_new_user.json +++ b/moonclient/moonclient/tests/tests_empty_policy_new_user.json @@ -3,6 +3,11 @@ "tests_group": { "authz": [ { + "auth_name": "admin", + "description": "Change user to admin (just in case...)" + }, + + { "name": "nova image-list", "external_command": "nova image-list", "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros-0.3.4-x86_64-uec", @@ -3276,6 +3281,62 @@ "description": "Check that the rule was correctly added.", "command_options": "-c id -c s:role -c a:action_id -c o:object_id -f value" }, + { + "name": "add_a_new_rule", + "command": "rule add $submetarule_uuid_admin \"demo_role,read,authz_object_scopes\"", + "result": "^$", + "description": "Add a new rule.", + "command_options": "" + }, + { + "name": "check_added_rule", + "command": "rule list $submetarule_uuid_admin", + "result": "(?P<rule_id>\\w+)\\s+demo_role\\s+read\\s+authz_object_scopes", + "description": "Check that the rule was correctly added.", + "command_options": "-c id -c s:role -c a:action_id -c o:object_id -f value" + }, + { + "name": "add_a_new_rule", + "command": "rule add $submetarule_uuid_admin \"demo_role,write,authz_object_scopes\"", + "result": "^$", + "description": "Add a new rule.", + "command_options": "" + }, + { + "name": "check_added_rule", + "command": "rule list $submetarule_uuid_admin", + "result": "(?P<rule_id>\\w+)\\s+demo_role\\s+write\\s+authz_object_scopes", + "description": "Check that the rule was correctly added.", + "command_options": "-c id -c s:role -c a:action_id -c o:object_id -f value" + }, + { + "name": "add_a_new_rule", + "command": "rule add $submetarule_uuid_admin \"demo_role,read,authz_object_categories\"", + "result": "^$", + "description": "Add a new rule.", + "command_options": "" + }, + { + "name": "check_added_rule", + "command": "rule list $submetarule_uuid_admin", + "result": "(?P<rule_id>\\w+)\\s+demo_role\\s+read\\s+authz_object_categories", + "description": "Check that the rule was correctly added.", + "command_options": "-c id -c s:role -c a:action_id -c o:object_id -f value" + }, + { + "name": "add_a_new_rule", + "command": "rule add $submetarule_uuid_admin \"demo_role,write,authz_object_categories\"", + "result": "^$", + "description": "Add a new rule.", + "command_options": "" + }, + { + "name": "check_added_rule", + "command": "rule list $submetarule_uuid_admin", + "result": "(?P<rule_id>\\w+)\\s+demo_role\\s+write\\s+authz_object_categories", + "description": "Check that the rule was correctly added.", + "command_options": "-c id -c s:role -c a:action_id -c o:object_id -f value" + }, { "name": "select_authz_ie", @@ -3447,6 +3508,11 @@ { + "auth_name": "admin", + "description": "Change user to admin" + }, + + { "name": "delete_authz_intra_extension", "command": "intraextension delete $uuid_authz", "result": "", @@ -3454,6 +3520,13 @@ "command_options": "" }, { + "name": "delete_admin_intra_extension", + "command": "intraextension delete $uuid_admin", + "result": "", + "description": "Delete the admin intra extension", + "command_options": "" + }, + { "name": "delete_tenant", "command": "tenant delete $uuid", "result": "", |