summaryrefslogtreecommitdiff
path: root/functional
Commit message (Collapse)AuthorAgeFilesLines
* Fix test_aggregate functional test2.2.0Richard Theis2016-03-031-1/+4
| | | | | | | | | | | | | | Nova API validation changes [1] appear to have broken the 'os aggregate create' and 'nova aggregate-create' commands when an availability zone name is not specified. This patch set updates the test_aggregate functional test to set the availability zone name in order to unblock the osc gate while nova investigates the issue. [1] https://review.openstack.org/#/c/281143/ Change-Id: I00b497be61c4bc4bc467c66c1e49b2e0636ab841 Related-Bug: #1541691
* Make SetAggregate inherit from cliff.CommandTang Chen2016-02-271-0/+56
| | | | | | | | | | | | | set/unset comamnd classes should inherit from cliff.Command class. Also, this patch adds functional tests for aggregate. And also, use utils.format_dict() to format the output of the properties dict. Change-Id: Idb50bef8990da95666960e2414dfd7c9be234bba Partial-bug: #1519503 Closes-Bug: 1546065
* Make SetAgent inherit from cliff.CommandTang Chen2016-02-271-0/+76
| | | | | | | | | set/unset command classes should inherit from cliff.Command class. Also, this patch adds functional tests for compute agent. Change-Id: I25eafffd1167f82aa0d430628c22dee7516b1e19 Partial-Bug: 1546065
* Make SetSecurityGroup inherit from cliff.CommandTang Chen2016-02-271-7/+10
| | | | | | set/unset comamnd classes should inherit from cliff.Command class. Change-Id: Ie28711ac8823dc9eb13cf83877864ca436b928bc Partial-Bug: 1546065
* Make SetFlavor and UnsetFlavor inherit from cliff.CommandTang Chen2016-02-271-4/+13
| | | | | | set/unset comamnd classes should inherit from cliff.Command class. Change-Id: I54e5608ac0768d7d94b7f7d516ea1948daefdc1b Partial-Bug: 1546065
* Merge "Defaults are ignored with flake8"Jenkins2016-02-262-4/+4
|\
| * Defaults are ignored with flake8Tom Cocozzello2016-02-232-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | If “ignore” is not set under flake8 in the tox.ini file there there are defaults set to be ignored. The depended patch fixes many of the problems. Change-Id: Ieed2fe1c4654e201d3fe6d40ef93e247ee736f8b Doc: http://flake8.readthedocs.org/en/latest/config.html#default Depends-On: I935ab48e7c5bac5f88ecdb3a05f73fb44fc9f41d Closes-Bug: #1548910
* | Merge "Add "security group rule show" command"Jenkins2016-02-231-0/+7
|\ \ | |/ |/|
| * Add "security group rule show" commandRichard Theis2016-02-231-0/+7
| | | | | | | | | | | | | | | | | | | | Add the "os security group rule show" command which will use the SDK when neutron is enabled, and use the nova client when nova network is enabled. Change-Id: I41efaa4468ec15e4e86d74144cc72edc25a29024 Partial-Bug: #1519512 Implements: blueprint neutron-client
* | Merge "Add functional tests for "volume" commands v2"Jenkins2016-02-232-0/+80
|\ \
| * | Add functional tests for "volume" commands v2Tang Chen2016-02-212-0/+80
| |/ | | | | | | | | | | | | | | | | | | The tests for v2 "volume" commands are quite similar to v1. This patch also map 'metadata' to 'properties', 'volume_type' to 'type' to align to the v1 output. Change-Id: Icf2c5463b186fc78c890ccd96453090c4a2c2eb6 Partial-bug: #1519503
* | 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
* Merge "Refactor security group functional tests"Jenkins2016-02-152-0/+0
|\
| * Refactor security group functional testsRichard Theis2016-02-052-0/+0
| | | | | | | | | | | | | | | | | | | | | | Moved the functional tests for "os security group" and "os security group rule" from the compute to the network directory to align with the refactoring to the commands. Change-Id: Ief6ab17775c6d7e3bef58d9fa025d9dd520b7370 Partial-Bug: #1519511 Partial-Bug: #1519512 Related-to: blueprint neutron-client
* | Add quota functional testsRichard Theis2016-02-122-0/+43
| | | | | | | | | | | | | | | | Add functional tests for "os quota" commands. Change-Id: I0f5939bf4ce553174c9b7ce55bdb3dce0506c409 Related-Bug: #1528249 Partially-Implements: blueprint neutron-client
* | Fix identity test_role functional testsRichard Theis2016-02-112-2/+2
| | | | | | | | | | | | | | | | | | | | A recent keystone change [1] resulted in the domain_id field being included when showing a role. [1] https://github.com/openstack/keystone/commit/407eabde417e85bb35bc7cbf1995857f4b20aeca Change-Id: I344f4d727f2a16217c075ad8b8393c1e0a233c2e Closes-Bug: #1544547
* | Merge "Add functional tests for snapshots"Jenkins2016-02-051-0/+82
|\ \
| * | Add functional tests for snapshotsTerryHowe2016-02-051-0/+82
| |/ | | | | | | Change-Id: I863583d6c8263d144d45a0443fc6af04301d23e7
* | Add recursive object delete for containersTerryHowe2016-02-051-1/+4
|/ | | | Change-Id: Ib291e79864c218464e842a08efd3742193ba5ff0
* Revert "Skip identity v2 functional tests"Richard Theis2016-02-019-24/+9
| | | | | | | | This reverts commit 5032dbc8074d5133c6b71610cd57d3c8da07c9b9 based on [1]. [1] https://review.openstack.org/#/c/274703/ Change-Id: Ic10ef7c37d71e452fbc4bd36e28be79d669b4e3f
* Skip identity v2 functional testsRichard Theis2016-01-299-9/+24
| | | | | | | | | | | DevStack now uses identity v3 by default thus causing OSC to only load openstack.identity.v3 commands. This prevents running functional tests on openstack.identity.v2 commands. As a result, this patch set skips all identity v2 functional tests to unblock the gate. Change-Id: I066187318be71792a966fa21226fab0d406c3758 Partial-Bug: #1539780
* Add router functional testsRichard Theis2016-01-251-0/+50
| | | | | | | | Add functional tests for the "os router" commands. Change-Id: I99045e6e2f548ac4206afcdb61940180e609a6bc Partial-bug: #1519503 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
* Merge "Implementation for project unset cmd for python-openstackclient."Jenkins2016-01-041-3/+5
|\
| * Implementation for project unset cmd for python-openstackclient.Jude Job2016-01-041-3/+5
| | | | | | | | | | | | | | | | | | This patch introduces a unit test class TestProjectUnset for testing unset cmd. Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Change-Id: Ib4a414d2313e3d37e48d1cb3639f064231aec508 Closes-Bug: #1486597
* | Functional tests for security group ruleRichard Theis2015-12-231-0/+59
|/ | | | | | | | Add functional tests for the "security group rule" commands. Change-Id: Ia03886e92632f37a3d2625df1c3fa7c2a536c564 Partial-Bug: #1519512 Related-to: blueprint neutron-client
* Migrate "network show" command to use SDK.Tang Chen2015-12-091-2/+2
| | | | | | | | | | | | | | | | | | | | | This patch makes "network show" command use sdk. Since we have to keep the other commands runnable with the old network client, we use a temporary method to create sdk network client. And as a result, the tests need to patch a method to fake the temporary method, which will be removed at last. There are two same test cases in the unit tests. This patch will remove one. And since the output has changed, we also need to fix function test cases. Change-Id: I4c06b4efad2db430767bbaa882b0876df3ab483a Implements: blueprint neutron-client Co-Authored-By: Terry Howe <terrylhowe@gmail.com> Co-Authored-By: Tang Chen <tangchen@cn.fujitsu.com>
* Add functional tests for network crudTerryHowe2015-11-243-0/+50
| | | | Change-Id: If965a7389ffa5b7ad44f53eebc2e8b918c6d2ace
* Merge "Have configuration tests support OCC"Jenkins2015-11-211-3/+9
|\
| * Have configuration tests support OCCTerryHowe2015-11-201-3/+9
| | | | | | | | Change-Id: Ia8b0e5672e2e6cf6a37582bf231385aafda8836d
* | remove url from v3 regionsSteve Martinelli2015-10-211-6/+2
| | | | | | | | | | | | | | | | | | | | | | the parameter "url" was removed from Keystone, it was only added for one release as part of an experimental support for adding service providers. BackwardsIncompatibleImpact Closes-Bug: 1506841 Change-Id: I7a62fbf1d9bfa8e6dd8d619e98c32b9860348d2e
* | Merge "Fix functional tests for Python 3.4"Jenkins2015-10-142-4/+5
|\ \
| * | Fix functional tests for Python 3.4Sirushti Murugesan2015-10-122-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | * shlex.split() expects a string. Not bytes. * decode the bytestring result of subprocess's communicate() to a string. Change-Id: I209f67a91dc609b1e30cb9e683d3d6ee63d00069
* | | Merge "image set should not show the resource"Jenkins2015-10-081-9/+8
|\ \ \
| * | | 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
* | | unwedge the gateSteve Martinelli2015-10-081-0/+2
|/ / | | | | | | | | | | | | devstack defaults to v3 and makes some janky assumptions in the generated rc files Change-Id: I4b0b3eb6ab2aa9be2ac4c2404b2f9655e3ed564e
* | 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
* | Automate flavors, networks, and image getTerryHowe2015-08-221-9/+29
|/ | | | | | | | Functional tests rely on some sort of configuration and rather than configure something right now, how about it pulls something from the middle of the available list. Change-Id: I8147e40e5ee7393d8a8dcf1b0beb48856f28af7e
* Merge "additional functional tests for identity providers"Jenkins2015-08-222-0/+35
|\
| * additional functional tests for identity providersKelvin Lui2015-08-212-0/+35
| | | | | | | | | | | | | | | | | | | | | | add tests for: * delete * set * list * show Change-Id: Ibe34f28d7ae77d139a6e0edf4fe04215c371c9a8
* | unwedge the osc gateSteve Martinelli2015-08-211-1/+1
| | | | | | | | | | | | | | | | | | keystone added a new property to projects, called is_domain. our functional tests fail because we are not expecting that in the project's 'show' command. Change-Id: Idf05118155847e3a6002818c44b99825801ea9f4 Related-Bug: #1487600
* | Skip functional test: test_server_upSteve Martinelli2015-08-101-0/+3
|/ | | | | | | | seems like test_server_up is causing intermittent issues in our CI, skipping for now, so we can proceed with merging code. Change-Id: Id41a78e703d7b416dfdc9a7bc95b19a8999192e3 Related-Bug: 1483422
* Add functional test for volume type create --propertyRobert Francis2015-08-051-7/+11
| | | | | | | Combine test_volume_set_one_propety and test_volume_type_set_unset_properties. Change-Id: Ia8862a59161f6a15880b87ea305fb5bb15c31300
* Merge "Added a new function test for volume type set"Jenkins2015-08-031-2/+13
|\
| * Added a new function test for volume type setJP Parkin2015-08-031-2/+13
| | | | | | | | | | | | | | This is a new test to validate the setting of one property for an existing volume type Change-Id: Ia9a7d86ce9b0d8df9d64ddc1df2d443843bba5ef
* | Merge "Introduce functional test for Identity Provider"Jenkins2015-08-032-0/+39
|\ \ | |/ |/|
| * Introduce functional test for Identity ProviderKelvin Lui2015-08-012-0/+39
| | | | | | | | | | | | Identity Provider currently doesn't have test coverage. Change-Id: Iea2e705f9d2303f58516f08a7526135988032025
* | Merge "Removed unnecessary assignment of function result Joined lines together"Jenkins2015-08-011-4/+2
|\ \
| * | Removed unnecessary assignment of function resultJoe Wigglesworth2015-07-311-4/+2
| | | | | | | | | | | | | | | | | | Joined lines together Change-Id: Iffe19c309369301137cfd52c8ea1aa988ce39f7e
* | | Merge "Added test for `volume type show`"Jenkins2015-07-311-0/+5
|\ \ \