summaryrefslogtreecommitdiff
path: root/functional/tests/image
Commit message (Collapse)AuthorAgeFilesLines
* Add functional tests for "image" command v2Tang Chen2016-02-212-0/+67
| | | | | | | | | | The tests for image v2 are quite similar to the tests for v1. The only difference things are: 1. v2 "image set" command only allows to change the disk format for a queued image 2. v2 "image show" command output is different from v1 Change-Id: Ieb6bec7467887aab567743153ea3181afa49537d
* image set should not show the resourceSteve Martinelli2015-10-061-9/+8
| | | | | | | | the rest of OSC set commands do not show the resource after it has been updated. unless the update fails then we report back a failure, otherwise the user should assume everything went fine. Change-Id: I2bd4188450c3853b4a1bc25f80fc9450cda32bdd
* set image api to 1 for functional testsSteve Martinelli2015-09-161-0/+2
| | | | | | | | | devstack now defaults to image api v2, but osc does not support v2 image create. set the functional tests to use v1 for now to unwedge the gate. Closes-Bug: #1496337 Change-Id: Ia02ed761446b8de52c932a424b9c423691ebcceb
* Add functional tests for image setTerryHowe2015-06-161-1/+22
| | | | | | | | | | | | | | | | This patch includes functional tests for image set and it includes a change to use the OSC utils.format_dict method to format the properties. This will give a more user friendly format to the image commands and it gives a more consistent testable format to the output. Instead of: {u'a': u'b', u'c': u'd'} The user will see: a=b, c=d Change-Id: Ib396316586ffc5dbab231064d5b6dc9425507934
* Add image functional testsTerryHowe2015-06-023-0/+45
Change-Id: I30b219bc3393fcb197bda266125dcfb5c8780a3e