summaryrefslogtreecommitdiff
path: root/openstackclient/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | Test top-to-bottom: object-store containersDean Troyer2014-09-293-8/+352
|/ | | | | | | | | | Replicate the object-store container command tests but use requests_mock to test the entire stack down to the requests module. These will be useful regressions tests when the existing object-store lib modules are moved to the low-level API object. Change-Id: Ibf25be46156eb1009f1b66f02f2073d3913b846d
* Merge "Add service catalog commands"Jenkins2014-09-191-0/+107
|\
| * Add service catalog commandsDean Troyer2014-09-181-0/+107
| | | | | | | | | | | | | | | | 'catalog list' and 'catalog show' for Identity v2 Identity v2 only so far. Change-Id: I9df0dac3d5bb7c18f38a81bd7d29f8119462d3a5
* | Merge "Add network extension list"Jenkins2014-09-182-2/+85
|\ \
| * | Add network extension listTerry Howe2014-07-262-2/+85
| | | | | | | | | | | | | | | | | | | | | Network extension list support Change-Id: I013f68ef2c3329c8db59e2441dd8d4ffafd4470e Closes-Bug: #1337685
* | | Merge "Use Keystone client session.Session"Jenkins2014-09-174-366/+23
|\ \ \ | | |/ | |/|
| * | Use Keystone client session.SessionDean Troyer2014-09-084-366/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the restapi requests wrapper with the one from Keystone client so we can take advantage of the auth plugins. As a first step only the v2 and v3 token and password plugins are supported. This maintainis no changes to the command options or environment variables. The next steps will include reworking the other API client interfaces to fully utilize the single auth session. Blueprint: ksc-session-auth Change-Id: I47ec63291e4c3cf36c8061299a4764f60b36ab89
* | | Merge "Network use enable/disable vs admin state up/down"Jenkins2014-09-081-4/+4
|\ \ \ | |/ / |/| |
| * | Network use enable/disable vs admin state up/downTerry Howe2014-08-181-4/+4
| | | | | | | | | | | | | | | | | | Use --enable and --disable vs --admin-state-up/--admin-state-down Change-Id: I90040b925cb537a8ba13d1dd609c51bb669cf149
* | | Merge "Add action 'user password set' for identiy v3"Jenkins2014-09-071-0/+48
|\ \ \
| * | | Add action 'user password set' for identiy v3Mouad Benchchaoui2014-09-071-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new action will allow a user to change their own password by either providing the new password as an argument (--password) or by being prompted to enter the new password. In both cases user will be prompted to enter their current password as required by the v3 API. Closes-Bug: #1337245 Change-Id: I5e1e0fd2b46a4502318da57f7cce2b236fb2d93d
* | | | Merge "Unordered dicts and lists causes variable results"Jenkins2014-09-071-0/+12
|\ \ \ \
| * | | | Unordered dicts and lists causes variable resultsTerry Howe2014-09-061-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The unordered dict and lists causes variable results. The user may see different results and tests can fail. Might as well make this more consistent. Change-Id: I7045b40b44cbf3ee0f2ca79c6ea0d279b6d8cfe3
* | | | | Merge "assertEquals order wrong"Jenkins2014-09-071-10/+10
|\ \ \ \ \ | |/ / / /
| * | | | assertEquals order wrongTerry Howe2014-09-041-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I822b6ac5b8e8c3009d1ee2d647376eff84559c11 Partial-Bug: #1277104
* | | | | Merge "Change app.restapi to app.client_manager.session"Jenkins2014-09-066-115/+215
|\ \ \ \ \
| * | | | | Change app.restapi to app.client_manager.sessionDean Troyer2014-08-256-115/+215
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is step 1 toward using Keystone client's session.Session as the primary session/requests interface in OSC. * Move the session create into ClientManager and rename 'restapi' attribute to 'session' * Set up ClientManager and session loggers * Fix container and object command references to restapi/api Change-Id: I013d81520b336c7a6422cd22c05d1d65655e64f8
* | | | | Merge "add service/interface/region filter for endpoint v3"Jenkins2014-09-061-0/+96
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | add service/interface/region filter for endpoint v3wanghong2014-08-181-0/+96
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7eac5b2ff5f5a6f3f08b22dd3a48a5ae7e2c056b Closes-Bug: #1281888
* | | | | Merge "add tests for identity v3 endpoint"Jenkins2014-08-232-0/+591
|\ \ \ \ \ | |/ / / /
| * | | | add tests for identity v3 endpointwanghong2014-08-142-0/+591
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1479460473656ea4e2a48a976808371e840b49c1 Closes-Bug: #1348867
* | | | | Merge "add tests for identity v3 domain"Jenkins2014-08-222-0/+417
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | add tests for identity v3 domainwanghong2014-08-142-0/+417
| |/ / / | | | | | | | | | | | | Change-Id: I478215f62b51e6e73283f0304ea1b0736177d1b1
* | | | a mistake in tests/identity/v3/test_role.pywanghong2014-08-121-1/+1
|/ / / | | | | | | | | | | | | | | | Change test_service_show to test_role_show. Change-Id: Ieef7fdeb9401b4dc28720c9ba14bf460ac171288
* | | test_find_resource fails if run alonewanghong2014-08-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we set 'NAME_ATTR' attribute for Volume and Snapshot class in volume.client.py. When we test test_find_resource alone, the Volume and Snapshot class do not have 'NAME_ATTR' attribute since we do not import volume.client, which causes the tests to fail. Change-Id: I06f727ffa8d37afe1a1191c36574887fecc7a733 Closes-Bug: #1353788
* | | Merge "Add more columns to image list output"Jenkins2014-07-262-0/+90
|\ \ \
| * | | Add more columns to image list outputSteve Martinelli2014-07-252-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add disk_format, container_format, size and status to image list command. Added tests as well. Change-Id: I8e3822c6d46d0020fc706955c026549f6c635587 Closes-Bug: #1348475
* | | | Change V2 image tests to actually run V2 image codeSteve Martinelli2014-07-251-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | The current tests for image do not run v2 image code, changing that portion also made it's only test fail. I opted to change the image delete code and not the test, since passing the object ID is more in line with the rest of the project code. Change-Id: I62e13c063a5d68279dbbf31e59266db6285d73bf
* | | Fix IDP commandsJamie Lennox2014-07-212-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | identity_client.identity_providers doesn't exist as a manager. These are located at identity_client.federation.identity_providers. Fix the routes. Also fix passing id to .create() as a positional argument. This is not allowed from keystoneclient it should be passed as a keyword argument. Change-Id: I912c27fcee58b0723e27e9147def2cbd1c62c288
* | | Merge "Fix server resize"Jenkins2014-07-123-0/+157
|\ \ \
| * | | Fix server resizeDean Troyer2014-07-083-0/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So apparently we've never resized a server??? Fixed command args and add some tests. Change-Id: I6c3f6fec22390e9d269b7117a42a190d2b4b80ba
* | | | Merge "Add basic timing support"Jenkins2014-07-111-0/+87
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add basic timing supportDean Troyer2014-07-081-0/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for --timing options. Use cliff via a pseudo-command 'Timing' to support multiple outputformats. If an output format other than the default 'table' is selected use CSV since the timing data is in list form. Will pick up timing data for any client object that has a method similar to novaclient's get_timings(). TODO: * Stop instantiating all of the clientmanager client objects just to check for timing data. Descriptor magic required? Change-Id: I7f1076b7a250fba6a8b24b2ae9353a7f51b792b2
* | | | Merge "Domain administrator cannot do project operations"Jenkins2014-07-091-0/+64
|\ \ \ \
| * | | | Domain administrator cannot do project operationsTerry Howe2014-07-071-0/+64
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Domain administrator cannot do project operations because the require access to the domain API (which they don't have). When attempting to find a domain for project operations, ignore errors because the API returns nothing without indicating there is a problem. The domain administrators will have to use a domain id, but they will still be able to do project operations. If the user does not have permission to read the domain table, they cannot use domain names. Change-Id: Ieed5d420022a407c8296a0bb3569d9469c89d752 Closes-Bug: #1317478 Closes-Bug: #1317485
* | | | Merge "Allow network find to use alternate name"Jenkins2014-07-081-0/+72
|\ \ \ \
| * | | | Allow network find to use alternate nameTerry Howe2014-07-071-0/+72
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Add the name_attr to the network find method so it can search for things like floating_ip_address for floating IP addresses rather than just id. Change-Id: I827e3745b06397a54555d1286e477bf2e05bf789
* | | | Merge "Catch SystemExit for parse args"Jenkins2014-07-081-1/+4
|\ \ \ \
| * | | | Catch SystemExit for parse argsTerry Howe2014-07-061-1/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | If you have a test with parse args it fails with no error messages. This change throws an exception. Change-Id: I545aba346620a352fe570d394dbd4d6bd2daa995
* | | | Python 3: do not compare a list to a zip objectTerry Howe2014-07-071-5/+5
| |/ / |/| | | | | | | | | | | | | | In Python 3, zip() returns a zip object, not a list. Change-Id: I1a472bec3e12b5ae3c3555cf690b99a57579ce83
* | | Move network stuff to v2 instead of v2_0Terry Howe2014-07-073-3/+3
|/ / | | | | | | | | | | Rename network stuff v2 Change-Id: Ia9b8feda20dfd35b0f3712b8e2419d0bf5da0acd
* | Merge "trust authentication"Jenkins2014-07-041-14/+49
|\ \
| * | trust authenticationMatthieu Huin2014-07-031-14/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch enables authenticating by using a trust. The trust ID must be set with the parameter --os-trust-id or the env variable OS_TRUST_ID. Trusts are available for the identity v3 API. Co-Authored-By: Florent Flament <florent.flament@cloudwatt.com> Change-Id: Iacc389b203bbadda53ca31a7f5a9b8b6e1a1f522
* | | Merge "Python 3: do not use __builtin__"Jenkins2014-07-031-1/+1
|\ \ \ | |_|/ |/| |
| * | Python 3: do not use __builtin__Cyril Roelandt2014-07-031-1/+1
| |/ | | | | | | | | | | Use six.moves.builtins instead, this works with both Python 2 and 3. Change-Id: I57e7257d4f06c805f26383e0778ad104d50ea139
* | Remove backslash usage from a few testsSteve Martinelli2014-07-022-27/+12
|/ | | | | | | Noticed these in the code, figured we should stick to not using backslashes if possible. Change-Id: I55e5402683141e14df7c2b38883b1f3cc2a6bb6a
* Merge "Fix PEP8 E126 and E202 errors"Jenkins2014-06-273-328/+368
|\
| * Fix PEP8 E126 and E202 errorsDean Troyer2014-06-273-328/+368
| | | | | | | | | | | | | | Do both as they are all in the same set of files that required major re-formatting. Change-Id: I6e8a8ce19a55105124a33c0e2487fc4b4e06d252
* | Merge "Fix PEP8 E265 errors"Jenkins2014-06-273-7/+2
|\ \ | |/
| * Fix PEP8 E265 errorsDean Troyer2014-06-273-7/+2
| | | | | | | | Change-Id: Ieb9a9af1da27d3935d1a4d3cfb61b0ccb03d099a