diff options
Diffstat (limited to 'moonclient/moonclient/tests/tests_empty_policy_new_user.json')
-rw-r--r-- | moonclient/moonclient/tests/tests_empty_policy_new_user.json | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/moonclient/moonclient/tests/tests_empty_policy_new_user.json b/moonclient/moonclient/tests/tests_empty_policy_new_user.json index 6caf34ee..2d24e02e 100644 --- a/moonclient/moonclient/tests/tests_empty_policy_new_user.json +++ b/moonclient/moonclient/tests/tests_empty_policy_new_user.json @@ -28,10 +28,16 @@ "description": "Force the admin role for the user demo on the project admin (for testing purpose)." }, { + "name": "neutron net-list", + "external_command": "neutron net-list", + "result": "(?P<uuid_net>[\\w-]+)\\s+\\| public", + "description": "Get an Net ID" + }, + { "name": "nova boot new server", - "external_command": "nova boot --flavor m1.tiny --image $uuid_image test_moonclient", - "result": "\\| OS-EXT-STS\\:vm_state\\s+\\| building", - "description": "Boot a new nova server." + "external_command": "nova boot --flavor m1.tiny --image $uuid_image --nic net-id=$uuid_net test_moonclient", + "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros-0.", + "description": "Get an Image ID" }, { "name": "sleep", @@ -3398,12 +3404,6 @@ "result": "\\| (?P<uuid_server>[\\w\\-]+)\\s+\\| test_moonclient\\s+\\| ACTIVE\\s+\\| [\\w\\-]+\\s+\\| Running", "description": "Check that nova server is still in running state." }, - { - "name": "pause", - "external_command": "read", - "result": "", - "description": "Pause" - }, { "name": "list tenant", @@ -3564,4 +3564,4 @@ } ] } -}
\ No newline at end of file +} |