diff options
author | 2015-11-09 16:07:16 +0100 | |
---|---|---|
committer | 2015-11-09 16:07:16 +0100 | |
commit | c1f432a46f8c6a1501133a0f18e8556246524904 (patch) | |
tree | 0c9cd0ce635f8a135a3ef7b7704234cc9f770ec7 /moonclient/moonclient/tests/tests_change_auth.json | |
parent | 7e98b5d8b90f18d433fabc34733030ba69e8d584 (diff) |
Add 'special' test operation allowing to change authentication (name, url, ...) during test and add a shell operation in test procedure.
Change-Id: I44f91b19d438dc92183d58f99047228ea5dc257a
Diffstat (limited to 'moonclient/moonclient/tests/tests_change_auth.json')
-rw-r--r-- | moonclient/moonclient/tests/tests_change_auth.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/moonclient/moonclient/tests/tests_change_auth.json b/moonclient/moonclient/tests/tests_change_auth.json new file mode 100644 index 00000000..38d1d134 --- /dev/null +++ b/moonclient/moonclient/tests/tests_change_auth.json @@ -0,0 +1,32 @@ +{ + "command_options": "-f value", + "tests_group": { + "authz": [ + + { + "auth_name": "demo", + "description": "Change user to demo" + }, + + { + "name": "list tenant", + "command": "tenant list", + "result": "^$", + "description": "Check if user demo cannot read the list of all tenants." + }, + + { + "auth_name": "admin", + "description": "Change user to admin" + }, + + { + "name": "list tenant", + "command": "tenant list", + "result": "admin", + "description": "Check if user admin can read the list of all tenants." + } + + ] + } +}
\ No newline at end of file |