summaryrefslogtreecommitdiff
path: root/openstackclient/tests/volume/v1
Commit message (Collapse)AuthorAgeFilesLines
* Support multiple volume qos deleteTerryHowe2015-07-171-8/+8
| | | | | | | Also make sure that we are using the singular qos_spec when we should and the plural qos_specs otherwise. Change-Id: If4bbeb6fc245d7d80dc3d7dccfe9f949e802653c
* Fix wrong mock method calllin-hua-cheng2015-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | There is no assert_called() method in mock, replace it with assert_called_with() method. The old method used to work with mock 1.0.1 because it was a noop in magicmock. Needs https://review.openstack.org/#/c/200583 to pass the requirements check. https://review.openstack.org/#/c/193935/ changed the OS_* vars we source by forcing v2password as the auth method. change our identity v3 test setup by setting v3password Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Closes-Bug: 1473454 Depends-on: I0cfab6d13e5d9e744cb302c86a2c21269923e75d Change-Id: Id22765c7e044797e03d19ad1b103fadec2726aa2
* Add tests for 'list' and 'show' for volume qos v1David Moreau Simard2015-06-292-0/+111
| | | | Change-Id: I1b4d998f3ec1bd5cb8dd4c9e0d04fd3b3049e9d7
* Alphabetize tests for v1 qos_specsDavid Moreau Simard2015-06-291-74/+74
| | | | | | | As a follow up of sorting the methods for volume v1 qos_specs. Change-Id: I428167297e7110e586d139bf38fd22d321836e80
* Add support for volume API v1 QoS commandsDavid Moreau Simard2015-06-262-0/+388
| | | | | | | | | | | | | | | This commit adds the following commands: volume qos associate volume qos create volume qos delete volume qos disassociate volume qos list volume qos set volume qos show volume qos unset Change-Id: I72ea1b9a4d0bd0e35eda03071ea438b75439fce9 Partial-Bug: #1467967
* Check volume status before extending sizelin-hua-cheng2015-02-062-8/+191
| | | | | | | Added test for Volume Set as well. Change-Id: I8e6794f67b160ca328fcafa8f1d67138b4f3becd Closes-Bug: #1415182
* Fix volume create --imageDean Troyer2014-11-182-0/+159
| | | | | | | 'volume create --image' should allow an image name to be used. Closes-Bug: #1383333 Change-Id: I996d46db321eef2d75c3d19b480319f8a78c09b3
* assertEquals order wrongTerry Howe2014-09-041-10/+10
| | | | | Change-Id: I822b6ac5b8e8c3009d1ee2d647376eff84559c11 Partial-Bug: #1277104
* Fix PEP8 E265 errorsDean Troyer2014-06-271-2/+0
| | | | Change-Id: Ieb9a9af1da27d3935d1a4d3cfb61b0ccb03d099a
* Add support for extension listMatt Fischer2014-06-111-0/+22
| | | | | | | | | | | | - Add support in the common section for extension list. This only supports Identity for now. Once the APIs for volume and compute are supported in the respective APIs, they will be added. Once network is added to this client, it will be added (the API already supports it). - Include extension fakes for volume and compute for pre-enablement. Change-Id: Iebb0156a779887d2ab06488a2a27b70b56369376 Closes-Bug: #1319115
* Change volume create --volume-type to --typeDean Troyer2014-05-152-14/+148
| | | | | | | This makes it consistent with the other --type options in OSC. Also add a few more volume_create tests. Change-Id: I50ef927932cabf157ecdfd6c4faa1914b4fdf413
* Fix misspellings in python openstackclientShane Wang2014-02-072-4/+4
| | | | | | | | | Fix misspellings detected by: * pip install misspellings * git ls-files | grep -v locale | misspellings -f - Change-Id: Ic0d3efa26eb9a05ce16a8319c142f5bd1ce23821 Closes-Bug: #1257295
* Remove copyright from empty filesAlexander Ignatov2014-01-201-14/+0
| | | | | | | | | According to policy change in HACKING: http://docs.openstack.org/developer/hacking/#openstack-licensing empty files should no longer contain copyright notices. Change-Id: Iba09a00f24dfbd1cd03c1c9f70ea216788e64d93 Closes-Bug: #1262424
* Complete basic test infrastructureDean Troyer2013-11-183-282/+262
| | | | | | | This finally gets all of the API tests into a common framework regarding test classes and so forth. Change-Id: If675347129c50dcba0bfc5b6c58f5a2ca57ff46c
* Do lookups for user, project in volume createDean Troyer2013-10-254-0/+364
This required https://review.openstack.org/26323 in keystoneclient, merged long ago... Also adds some tests for 'volume create' Change-Id: I55bededbc20b5dcf2833c59eb2b6b069703d8a9a