aboutsummaryrefslogtreecommitdiffstats
path: root/moonclient/moonclient/tests/tests_empty_policy_new_user.json
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2016-09-01 18:26:54 +0200
committerThomas Duval <thomas.duval@orange.com>2016-09-20 10:38:37 +0200
commit1dcfe5a30a080297a3f31ec9dc38e19ba741107f (patch)
tree1c20006435bb635973542eccf051065beca8735b /moonclient/moonclient/tests/tests_empty_policy_new_user.json
parent39f679000aa78c784edd1aa1fe64b6a3abbc7d29 (diff)
Fix errors with Functest.
Change-Id: Iff86047633b89c5a27d56f91e78cdf1377038f5f (cherry picked from commit 9899dca1f0a2b8b6e9c5dfa96c9288dd64535d1a)
Diffstat (limited to 'moonclient/moonclient/tests/tests_empty_policy_new_user.json')
-rw-r--r--moonclient/moonclient/tests/tests_empty_policy_new_user.json20
1 files changed, 16 insertions, 4 deletions
diff --git a/moonclient/moonclient/tests/tests_empty_policy_new_user.json b/moonclient/moonclient/tests/tests_empty_policy_new_user.json
index 6d29f4a8..96fb37d9 100644
--- a/moonclient/moonclient/tests/tests_empty_policy_new_user.json
+++ b/moonclient/moonclient/tests/tests_empty_policy_new_user.json
@@ -10,15 +10,27 @@
},
{
+ "name": "get cirros image",
+ "external_command": "wget http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img -o /tmp/cirros.img",
+ "result": "",
+ "description": "Download a Cirros image"
+ },
+ {
+ "name": "install cirros image",
+ "external_command": "glance image-create --name \"cirros\" --disk-format qcow2 --file /tmp/cirros.img --container-format bare",
+ "result": "",
+ "description": "Upload the Cirros image in glance"
+ },
+ {
"name": "nova image-list",
"external_command": "nova image-list",
- "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros-0.3",
+ "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros",
"description": "Get an Image ID"
},
{
- "name": "create teannt test",
+ "name": "create tenant test",
"external_command": "openstack project create test_moonclient",
- "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros-0.3",
+ "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros",
"description": "Get an Image ID"
},
{
@@ -30,7 +42,7 @@
{
"name": "neutron net-list",
"external_command": "neutron net-list",
- "result": "(?P<uuid_net>[\\w-]+)\\s+\\| public",
+ "result": "(?P<uuid_net>[\\w-]+)\\s+\\| ext-net",
"description": "Get an Net ID"
},
{