aboutsummaryrefslogtreecommitdiffstats
path: root/moonclient
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-08 11:27:12 +0200
commitc069b1485d20b44963467cff02d008e44e2b655e (patch)
treeff70cff7cf1d84e05c36a4e3d014dd3d7d6bc3d3 /moonclient
parent184ea3d6f75f6adbee63668f633f856989bd2bbc (diff)
Fix a bug when connecting with demo user to nova
Change-Id: I1f73d0c691d0baa24ebaa3eca4163e98625a7ae2
Diffstat (limited to 'moonclient')
-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."
},