summaryrefslogtreecommitdiffstats
path: root/moonclient
diff options
context:
space:
mode:
authorWuKong <rebirthmonkey@gmail.com>2016-08-18 15:47:53 +0200
committerThomas Duval <thomas.duval@orange.com>2016-09-20 10:38:31 +0200
commit80021afd64516d0b27f815a14b089428180e142b (patch)
treec9e05f16ee17e6025f7819cb8acef715a3526009 /moonclient
parent7adbe7bd93ab71ac68afdc0f6668d87c1e314206 (diff)
fix bug hardcoded password and remove keystoneclient cli cmd
Change-Id: I537f44bd25b0fc16b2d1267e001831a8d217eb5d Signed-off-by: WuKong <rebirthmonkey@gmail.com> (cherry picked from commit 7b5fc1523fa45002d0e6c5841a388a30697f9531)
Diffstat (limited to 'moonclient')
-rw-r--r--moonclient/moonclient/tests/tests_empty_policy_new_user.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/moonclient/moonclient/tests/tests_empty_policy_new_user.json b/moonclient/moonclient/tests/tests_empty_policy_new_user.json
index 2d24e02e..6adb9a16 100644
--- a/moonclient/moonclient/tests/tests_empty_policy_new_user.json
+++ b/moonclient/moonclient/tests/tests_empty_policy_new_user.json
@@ -4,7 +4,7 @@
"authz": [
{
"auth_name": "admin",
- "auth_password": "password",
+ "auth_password": "console",
"auth_tenant": "admin",
"description": "Change user to admin (just in case...)"
},
@@ -72,7 +72,7 @@
},
{
"name": "add role admin to demo",
- "external_command": "keystone user-role-add --user demo --role admin --tenant demo",
+ "external_command": "openstack role add --project demo --user demo admin ",
"result": "",
"description": "Add role admin to user demo (an error may occurred)"
},