fix bug hardcoded password and remove keystoneclient cli cmd 35/21735/1
authorWuKong <rebirthmonkey@gmail.com>
Thu, 18 Aug 2016 13:47:53 +0000 (15:47 +0200)
committerThomas Duval <thomas.duval@orange.com>
Tue, 20 Sep 2016 08:38:31 +0000 (10:38 +0200)
Change-Id: I537f44bd25b0fc16b2d1267e001831a8d217eb5d
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
(cherry picked from commit 7b5fc1523fa45002d0e6c5841a388a30697f9531)

moonclient/moonclient/tests/tests_empty_policy_new_user.json

index 2d24e02..6adb9a1 100644 (file)
@@ -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)"
       },