aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2016-09-08 11:27:12 +0200
committerThomas Duval <thomas.duval@orange.com>2016-09-20 10:38:38 +0200
commit229c100c2fa4210eea40dd4d0c521497cc69f381 (patch)
treefbd5655c396150de6243f2733ccc1c8dbc2f069b
parentb4d8ca18d99475b1f270d4cc2ff49e2ce7f13599 (diff)
Fix a bug when connecting with demo user to nova
Change-Id: I1f73d0c691d0baa24ebaa3eca4163e98625a7ae2 (cherry picked from commit c069b1485d20b44963467cff02d008e44e2b655e)
-rw-r--r--moonclient/moonclient/tests/tests_empty_policy_new_user.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/moonclient/moonclient/tests/tests_empty_policy_new_user.json b/moonclient/moonclient/tests/tests_empty_policy_new_user.json
index 1b17cc28..b5a762c1 100644
--- a/moonclient/moonclient/tests/tests_empty_policy_new_user.json
+++ b/moonclient/moonclient/tests/tests_empty_policy_new_user.json
@@ -3442,19 +3442,19 @@
{
"name": "demo: check nova command",
- "external_command": "nova --os-user-name demo --os-project-name admin list",
+ "external_command": "nova --os-user-name demo --os-project-name demo list",
"result": "test_moonclient",
"description": "Check demo can list nova servers due to the current rules"
},
{
"name": "demo: try to pause nova instance",
- "external_command": "nova --os-username demo --os-project-name admin pause $uuid_server",
+ "external_command": "nova --os-username demo --os-project-name demo pause $uuid_server",
"result": "^$",
"description": "Pausing the server must be impossible due to the current rules"
},
{
"name": "check nova command",
- "external_command": "nova --os-user-name demo --os-project-name admin list",
+ "external_command": "nova --os-user-name demo --os-project-name demo list",
"result": "\\| (?P<uuid_server>[\\w\\-]+)\\s+\\| test_moonclient\\s+\\| ACTIVE\\s+\\| [\\w\\-]+\\s+\\| Running",
"description": "Check that nova server is still in running state."
},