summaryrefslogtreecommitdiff
path: root/functional/tests/common
Commit message (Collapse)AuthorAgeFilesLines
* Deduplicate get_opts methodsKyrylo Romanenko2016-07-052-2/+2
| | | | | | | | One get_opts method can work instead of get_list_opts and get_show_opts both. Remove mutable default value. Change-Id: I9c5683d416f0f3ed4989abab6f152b0341e30a4f
* Move server image create command to its own resource file.Dean Troyer2016-06-031-1/+2
| | | | Change-Id: If37e82072bd7a32b81bfb1a8bb048f018dd5b04f
* Add network support for "quota set"Fang Zhen2016-05-191-5/+4
| | | | | | | | | | The "quota set" command support compute and volume quotas previously. This patch add support network. Partially-implements: blueprint neutron-client-quota Closes-bug: 1489441 Change-Id: I9d297f52bc30614b3493f09ed15f8f1d3f8ff952
* Support quota show for current projectRichard Theis2016-04-211-0/+5
| | | | | | | | | | The "os quota show" command "<project/class>" argument is now optional. If not specified, the user's current project is used. This allows non-admin users to show quotas for their current project. Change-Id: I602d4cc09c9d29ce84271eff78137f8810cb1a47 Closes-Bug: #1572733
* Prefer assertEqual/assertIn over assertOutput/assertInOutputCedric Brandily2016-04-061-1/+1
| | | | | | | | | | | | | | functional.common.tests module defines: * assertOutput (similar to assertEqual) * assertInOutput (similar to assertIn) in order to allow the usage of assertions in testcase classmethods but there is no reason to use them in testcase instancemethods at least because they raise Exception instances instead of AssertionError instances. Change-Id: I9ffcaf9c6e6a1ff5df6ea2d79be3fb4496db4b85
* Functional tests for openstackclient help messagesKyrylo Romanenko2016-03-181-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add tests for list and description for Server commands: - Check server commands in main help message. - Check list of server-related commands only. Commands: server add security group, server add volume, server create, server delete, server dump create, server image create, server list, server lock, server migrate, server pause, server reboot, server rebuild, server remove security group, server remove volume, server rescue, server resize, server resume, server set, server shelve, server show, server ssh, server start, server stop, server suspend, server unlock, server unpause, server unrescue, server unset, server unshelve. Change-Id: Ib4bf9ab0264fb482d36cf5688c0f939bcd2cb6d8
* Add quota functional testsRichard Theis2016-02-121-0/+38
| | | | | | | | Add functional tests for "os quota" commands. Change-Id: I0f5939bf4ce553174c9b7ce55bdb3dce0506c409 Related-Bug: #1528249 Partially-Implements: blueprint neutron-client
* Refactor "os availability zone list"Richard Theis2016-01-141-0/+25
| | | | | | | | | | | | Refactor the "os availability zone list" command to make it a common command instead of a compute-only command. Since availability zones are common to compute, volume and network (new), this refactoring allows availability zone support to be added for volume and network. In addition to the refactor, unit and functional tests were added. Change-Id: I63e9d41d229b21cd38e5a083493042c096d65e05 Partial-Bug: #1532945
* Have configuration tests support OCCTerryHowe2015-11-201-3/+9
| | | | Change-Id: Ia8b0e5672e2e6cf6a37582bf231385aafda8836d
* New test for configuration show --maskYunpeng Li2015-07-301-2/+9
| | | | Change-Id: I56bb110d25b9f05cb1a706ecc5bbf5b6b154b240
* add new test for configuration show unmaskJohn Keenleyside2015-07-301-0/+8
| | | | Change-Id: Ib85bfa627f4ddee9e017f148c86a6d7d640bfba4
* New test for configuration showManuel Silveyra2015-07-292-0/+23
Creates a new common file for configuration tests. Change-Id: Id4c26759dfec5d508b762d0b54386f258a362971