summaryrefslogtreecommitdiff
path: root/functional/tests/image
Commit message (Collapse)AuthorAgeFilesLines
* move all functional tests to tests moduleSteve Martinelli2016-09-095-143/+0
| | | | | | | | | | | | | | functional tests should be grouped with other tests (unit and integration tests). as part of this commit the "common" module was renamed to just "base", this was done for simplicity. the post_test_hook.sh file was also copied to the functional module since it should live there. a separate change to the infra repo will be made to call the new location, once that is merged we can remove the old one (a new change will also be posted for that) Needed-By: I49d54f009021d65c1ae49faf6b3f0a7acdadd7b3 Change-Id: Ie8c334f6223373b8e06df8bd8466500d2a2c8ede
* Unskip the tests affected by warlock 1.3.0Steve Martinelli2016-07-171-3/+0
| | | | | | | 1) This reverts commit 044a46ed5f040020cf80adc1ace987802344e87d which was broken by warlock 1.3.0 Change-Id: Ia286d9394586884018c4e62cf581e39a809f5545
* Deduplicate get_opts methodsKyrylo Romanenko2016-07-052-11/+11
| | | | | | | | One get_opts method can work instead of get_list_opts and get_show_opts both. Remove mutable default value. Change-Id: I9c5683d416f0f3ed4989abab6f152b0341e30a4f
* skip image tag testsSteve Martinelli2016-06-271-0/+3
| | | | | | | | the command ``image set tag <tag> <image>`` is now failing skip the test so our gate isn't broken. Change-Id: I05e415b212e76aef62c1b0b966863573eff338e9 Partial-Bug: #1596573
* Add "image unset" commandsunyajing2016-05-281-0/+9
| | | | | | | | This patch add a command that supports unsetting image tags and properties Change-Id: I6f2cf45a61ff89da6664f3a34ae49fdd85d8c986 Closes-Bug:#1582968
* 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