summaryrefslogtreecommitdiff
path: root/functional/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge "Add functional tests for volume qos"Jenkins2015-07-181-0/+54
|\
| * Add functional tests for volume qosTerryHowe2015-07-171-0/+54
| | | | | | | | Change-Id: I80010b56b399bc027ac864304be60a3ee53bda00
* | Merge "enhance tests for user v3"Jenkins2015-07-182-3/+39
|\ \
| * | enhance tests for user v3Guojian Shao2015-07-172-3/+39
| | | | | | | | | | | | | | | Change-Id: Ib17ba0cd71068ba8d7e7665160daf3ae0735971b Related-Bug: #1475357
* | | Merge "add functional tests for identity v2"Jenkins2015-07-173-0/+125
|\ \ \ | |/ / |/| |
| * | add functional tests for identity v2Guojian Shao2015-07-173-0/+125
| |/ | | | | | | | | | | | | add tests for endpoint and service. Change-Id: Iec80106d6e4c310cea1c5af262d145ac1f56525e Implements: blueprint identity-functional-tests
* | add functional tests for identity v3Guojian Shao2015-07-175-11/+279
|/ | | | | | | add functional tests for endpoint, region and service. Change-Id: I504878811dc8f9fcb2295cbf7419885959d9c1f6 Implements: blueprint identity-functional-tests
* Merge "add functional tests for identity v2"Jenkins2015-07-137-88/+462
|\
| * add functional tests for identity v2Guojian Shao2015-07-107-88/+462
| | | | | | | | | | | | | | | | | | split test_identity.py into test_user.py, test_project, etc. To make functional tests run repeatedly without raising duplicated error, clean up resources before exiting each test case. Change-Id: I8f31ccbd70f1cccdab8b3720aac179e2e399486d Implements: blueprint identity-functional-tests
* | Fix wrong mock method calllin-hua-cheng2015-07-111-2/+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
* | Merge "add functional tests for identity v3"Jenkins2015-07-078-60/+764
|\ \ | |/
| * add functional tests for identity v3Guojian Shao2015-07-078-60/+764
| | | | | | | | | | | | | | | | | | | | | | To make test cases more clearly, split test_identity.py into test_user.py, test_role, etc. Add more test cases for user, role, etc. Furthermore, to make functional tests run repeatedly without raising duplicated error, clean up resources before exiting each test case. Change-Id: I1541943ad0b8d4d8d1e72822c159fda243b3d1d7 Implements: blueprint identity-functional-tests
* | Merge "Add functional tests for volume set size"Jenkins2015-07-061-0/+7
|\ \
| * | Add functional tests for volume set sizeTerryHowe2015-06-111-0/+7
| | | | | | | | | | | | Change-Id: Ie369c6366e1d0632ab1892fd019f5b12528c195b
* | | Merge "Add functional tests for security group CRUD"Jenkins2015-07-061-0/+57
|\ \ \
| * | | Add functional tests for security group CRUDTerryHowe2015-06-101-0/+57
| |/ / | | | | | | | | | Change-Id: Ib5bbd46c0454d7dbb541354d515430922569c994
* | | Merge "Add functional tests for flavor metadata"Jenkins2015-07-061-0/+10
|\ \ \
| * | | Add functional tests for flavor metadataTerryHowe2015-06-111-0/+10
| | | | | | | | | | | | | | | | Change-Id: Iae7a3f61c0c9777ee2511558d8942243066a8c60
* | | | Merge "Add flavor functional test"Jenkins2015-07-061-0/+46
|\ \ \ \ | |/ / /
| * | | Add flavor functional testTerryHowe2015-06-111-0/+46
| |/ / | | | | | | | | | Change-Id: I3166e1c3fb0f9b89cff8f083d30cb15e7196f59a
* | | Merge "Add functional tests for server CRUD"Jenkins2015-07-051-0/+55
|\ \ \ | |_|/ |/| |
| * | Add functional tests for server CRUDTerryHowe2015-06-111-0/+55
| |/ | | | | | | Change-Id: I77f292d47a9bea6a5b486ce513c0c19ec8c845dd
* | 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 functional tests for volume set and unsetTerryHowe2015-06-031-1/+27
| | | | | | | Add functional tests for volume set and unset for metadata and resource values. Change-Id: Ief07fc5c480608bb900d55df935b89c503609c80
* Merge "Add volume functional tests"Jenkins2015-06-023-0/+45
|\
| * Add volume functional testsTerryHowe2015-06-013-0/+45
| | | | | | | | Change-Id: I8e12837fb22cabeabf1cde341324927cc6ee0252
* | Add image functional testsTerryHowe2015-06-024-1/+46
|/ | | | Change-Id: I30b219bc3393fcb197bda266125dcfb5c8780a3e
* Remove checks for None dates in keypair functional testsTerry Howe2015-05-221-3/+2
| | | | | | | | Steve made a comment about this and I agree, we should try and keep these tests and simple as possible and this kind of thing doesn't add much value. Change-Id: I1eb73e5f38904ee6c74f6c7e27fc66cfe198619d
* Add support for keypair functional testsTerryHowe2015-05-173-0/+44
| | | | Change-Id: I5d4730f8229b50d2b162864c74d8eabfef6c0991
* Use format options for functional testsTerryHowe2015-05-171-0/+42
| | | | | | | Use the format options for functional tests so we can have more assertEquals and less assertIn. Change-Id: I34e6c76b42964f7b596ea35e6b0354a242611cb4
* Remove unique class names because they are scopedTerryHowe2015-04-273-9/+11
| | | | | | | Remove unique class names because they are module scoped. Also, add cleanup of the tmp file in the object test. Change-Id: I8107a02b13ff87793ba1e56e0f0ad26890f24369
* Functional tests run in many environmentsTerryHowe2015-04-251-26/+8
| | | | | | | | Have the functional tests running with less customization and less shell. This change will allow the functional tests to be run against any cloud set up in the environment. Change-Id: I24f621fbace62273e5a0be24e7af9078c0fc8550
* Re-organize functional testsSteve Martinelli2015-04-1710-79/+95
| | | | | | | The tests should be further divded by project version, similar to the structure of the unit tests. Change-Id: Ied3a4204983cdd253c5602a60968c066038d88f2
* Revert "Skip functional tests until they are fixed"Steve Martinelli2015-02-171-4/+0
| | | | | | This reverts commit 3946bf0e0186c8c2897f432029bad7873b6d03a0. Change-Id: Ic21137b208991c9ce738e5bf3ad5e6965b69e166
* Skip functional tests until they are fixedSteve Martinelli2015-02-091-0/+4
| | | | | | | | Newest python-keystoneclient broke some of our tests, this patch is just to get the gate less broken. Change-Id: I8961c63d094e9effde73f6d4088d8626a46e1f3d Related-Bug: #1420080
* Followup for ec2 credentials command fixDean Troyer2014-12-051-0/+46
| | | | | | | | Add functional tests for 'ec2 credentials' commands. Also fix tenant_id in output for create and show. Change-Id: I6ba3249b67408571624709e17f8aa2ac6d80237d
* Add more session/api examplesDean Troyer2014-11-151-0/+6
| | | | | | | | | * examples/object_api.py - Example of using the Object_Store API * examples/osc-lib.py - Minimal client to use ClientManager as a library Also add matching functional tests Change-Id: I4243a21141a821420951d4b6352d41029cdcccbc
* Add an API example base and functional test baseSteve Martinelli2014-11-151-0/+22
| | | | | | | | | | Add examples/common.py, which is a basic common setup that mimics OSC's configuration options and logging without the rest of the CLI. Also add the functional test tooling for examples to prevent bit rot. Co-Authored-By: Dean Troyer <dtroyer@gmail.com> Change-Id: Ie92b675eafd93482ddc9a8ce0b0588e23ed50c35
* cleanup files that are created for swift functional testsSteve Martinelli2014-11-121-3/+6
| | | | | | | | | Currently this portion of code is also being run when running tox to debug local tests. Which is very annoying since a developer will end up with a bunch of uuid files. Rather than creating it once per run, we can have a setup/teardown that is handled safely. Change-Id: I49a0bb3d14f24c54da93458d1e3b9093a1120453
* Fix issue token for v3Steve Martinelli2014-10-111-0/+6
| | | | | | | | Currently the code is broken as it references a part of keystoneclient that does not exist. Change-Id: I7fbc754537fbb4acffb166b5854840acfaef1fb8 Closes-Bug: #1379871
* Fix issues with object related commandsSteve Martinelli2014-10-061-0/+91
| | | | | | | | | | | | | | | 1) Can't create instance of swiftclient. Since we now create an API instance, creating a swiftclient instance won't work. Trying to do any object related command fails. 2) Listing objects in a container fails, we depend on the data returned in a specific way, during the API transition this must have slipped through. Needs regression/funcitonal tests to mame sure this doesn't happen again. Change-Id: I69079a0dc9f32b84e6f9307729d3dbbba549ac5e
* Create a whole slew of functional tests for identitySteve Martinelli2014-10-011-6/+112
| | | | | | Complete the remaining identity v2 and v3 functional tests Change-Id: I193fd95e58a38caeb66d37c17cde75b983c48ca0
* Add functional tests to oscSteve Martinelli2014-10-012-0/+35
Create a script that kicks off function tests that exercise openstackclient commands against a cloud. If no keystone/openstack process is detected, a devstack instance is spun up and the tests are run against that. There is also a hook added to tox.ini so that we can run these tests easily from a gate job. Change-Id: I3cc8b2b800de7ca74af506d2c7e8ee481fa985f0