From 80021afd64516d0b27f815a14b089428180e142b Mon Sep 17 00:00:00 2001 From: WuKong Date: Thu, 18 Aug 2016 15:47:53 +0200 Subject: fix bug hardcoded password and remove keystoneclient cli cmd Change-Id: I537f44bd25b0fc16b2d1267e001831a8d217eb5d Signed-off-by: WuKong (cherry picked from commit 7b5fc1523fa45002d0e6c5841a388a30697f9531) --- moonclient/moonclient/tests/tests_empty_policy_new_user.json | 4 ++-- 1 file 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)" }, -- cgit 1.2.3-korg