diff options
Diffstat (limited to 'moonclient/moonclient/tests/tests_object_assignments.json')
-rw-r--r-- | moonclient/moonclient/tests/tests_object_assignments.json | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/moonclient/moonclient/tests/tests_object_assignments.json b/moonclient/moonclient/tests/tests_object_assignments.json index 35fd34ab..fa834cce 100644 --- a/moonclient/moonclient/tests/tests_object_assignments.json +++ b/moonclient/moonclient/tests/tests_object_assignments.json @@ -5,7 +5,7 @@ { "name": "list tenant", "command": "tenant list", - "result": "(?!alt_demo)", + "no_result": "alt_demo", "description": "Check if tenant alt_demo is used." }, { @@ -121,7 +121,7 @@ { "name": "check_deleted_assignment", "command": "object assignment list $uuid_object $uuid_object_category", - "result": "(?!$uuid_object_scope)", + "no_result": "$uuid_object_scope", "description": "Check deleted assignment.", "command_options": "-c id -f value" }, @@ -134,6 +134,13 @@ "command_options": "" }, { + "name": "check_added_scope", + "command": "object scope list $uuid_object_category", + "no_result": "$uuid_object_scope", + "description": "Check added scope was deleted.", + "command_options": "-c id -f value" + }, + { "name": "delete_object_category", "command": "object category delete $uuid_object_category", "result": "^$", @@ -143,7 +150,7 @@ { "name": "list_object_category", "command": "object category list", - "result": "(?!$uuid_object_category)", + "no_result": "$uuid_object_category", "description": "Check that my_new_object_category object_category was deleted." }, { @@ -165,7 +172,7 @@ { "name": "list tenant", "command": "tenant list", - "result": "(?!alt_demo)", + "no_result": "alt_demo", "description": "Check if tenant alt_demo is used." }, { @@ -315,7 +322,7 @@ { "name": "check_deleted_assignment", "command": "object assignment list $uuid_object $uuid_object_category", - "result": "(?!$uuid_object_scope)", + "no_result": "$uuid_object_scope", "description": "Check deleted assignment.", "command_options": "-c id -f value" }, @@ -328,6 +335,13 @@ "command_options": "" }, { + "name": "check_deleted_scope", + "command": "object scope list $uuid_object_category", + "no_result": "$uuid_object_scope", + "description": "Check added scope was deleted.", + "command_options": "-c id -f value" + }, + { "name": "delete_object_category", "command": "object category delete $uuid_object_category", "result": "^$", @@ -337,7 +351,7 @@ { "name": "list_object_category", "command": "object category list", - "result": "(?!$uuid_object_category)", + "no_result": "$uuid_object_category", "description": "Check that my_new_object_category object_category was deleted." }, { |