diff options
author | Thomas Duval <thomas.duval@orange.com> | 2016-08-10 09:23:43 +0200 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2016-08-10 09:23:43 +0200 |
commit | 631a09b30096f02da48c6bb663bcbc777d742c06 (patch) | |
tree | cfdbdfd2b2684da1a32d7d347a8b7362b47f3b96 /moonclient/moonclient/tests/tests_external_commands.json | |
parent | e24eec03210b9efc996840fb2e269abe570b46e3 (diff) |
Add self attribute in test command to allow the execution of all internal tests (and update some test execution).
Change-Id: I3a35f662e51c03a94b53b8735085a4dbe8d236d5
Diffstat (limited to 'moonclient/moonclient/tests/tests_external_commands.json')
-rw-r--r-- | moonclient/moonclient/tests/tests_external_commands.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/moonclient/moonclient/tests/tests_external_commands.json b/moonclient/moonclient/tests/tests_external_commands.json index bfb7ac1a..d94658cc 100644 --- a/moonclient/moonclient/tests/tests_external_commands.json +++ b/moonclient/moonclient/tests/tests_external_commands.json @@ -118,6 +118,30 @@ }, { + "name": "nova image-list", + "external_command": "nova image-list", + "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros-0.", + "description": "Get an Image ID" + }, + { + "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 --nic net-id=$uuid_net test_moonclient", + "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros-0.", + "description": "Get an Image ID" + }, + { + "name": "sleep", + "external_command": "sleep 10", + "result": "", + "description": "time for server to really boot" + }, + { "name": "check nova command", "external_command": "nova list", "result": "\\| (?P<uuid_server>[\\w\\-]+)\\s+\\| (?P<name_server>\\w+)\\s+\\| ACTIVE\\s+\\| [\\w\\-]+\\s+\\| Running", |