summaryrefslogtreecommitdiff
path: root/cinderclient/tests/functional/test_volume_extend_cli.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove all usage of six libraryhaixin2021-03-041-8/+4
| | | | | | Replace six with Python 3 style code. Change-Id: I4b97e040f3e790ac114dcd43c68e6b67b1079adf
* Fix failing functional test casesPooja Jadhav2018-06-131-2/+4
| | | | | | | | | | | | | | After applying schema validation to volume actions APIs[1], error messages are formatted as per the standards. So the tests are failing because of error messages. This patch fixes failed functional tests by correcting error messages. [1]https://review.openstack.org/#/c/559042/ Change-Id: Id05bf637d77ab401fc0aec5be09eee423bf1a223
* Enable H306Eric Harney2017-08-011-1/+1
| | | | | | | | | Enforce ordering of imports with H306. For tests, this is mostly done by grouping test imports after other cinderclient imports. Change-Id: Ie40fda014d1aedb057e5b4ea1f27f999c84e6373
* Fix PY2/PY3 specific error in testcasesTommyLike2017-06-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | The behaviour of PY3's standard lib 'argparse' differs from PY2's. ``` cinder extend 2 usage: cinder extend <volume> <new_size> error: too few arguments Try 'cinder help extend' for more information. cinder extend 3 usage: cinder extend <volume> <new_size> error: the following arguments are required: <new_size> Try 'cinder help extend' for more information. ``` This could lead to the partly failure of functional testcase, fix it. Change-Id: I59e9ae149af0b4294b09a94a52a4bc86a1d90f2b Closes-Bug: #1697428
* Add Negative tests for cinder volume extend commandSergii Turivnyi2016-07-151-0/+56
Negative tests for the cinder CLI commands which check actions with volume extend command like extend volume without arguments or with incorrect arguments and check that correct error message raised. Change-Id: Ic7c846fa2d8e7c867ed575d922b4a7e935120705