summaryrefslogtreecommitdiff
path: root/openstackclient/tests/identity/v3/test_oauth.py
Commit message (Collapse)AuthorAgeFilesLines
* move unit tests to new "unit" test moduleSteve Martinelli2016-09-081-173/+0
| | | | | | | | this will better isolate the unit tests from the functional tests. unfortunately, the "integration" tests had to be lumped into the "unit" tests since we need the separation in testr.conf Change-Id: Ifd12198c1f90e4e3c951c73bfa1884ab300d8ded
* Trivial: Reorder classes in identity v3 in alphabetical orderTang Chen2016-03-111-40/+40
| | | | Change-Id: Iaf2e336c2415416ec69f6b974743c26509bba561
* fix the wrong order of assertEqual argswanghong2015-01-271-6/+6
| | | | | | Let's fix them thoroughly. Change-Id: I8a1f042fb614b05c9836a49041f3883638b870b0
* Request token authorizeSteve Martinelli2015-01-091-2/+10
| | | | | | Command doc and tweaks to the code Change-Id: I8f251bf9ca77f16b01a509844e79ddde82048b0d
* Request token creation docs + tweaksSteve Martinelli2015-01-081-2/+10
| | | | | | | Added command docs, and changed request token to take in name or id of a project, and also support a domain option. Change-Id: I87363274e5b7a0c687e234f5a4bcaaf166d28840
* Remove backslash usage from a few testsSteve Martinelli2014-07-021-7/+3
| | | | | | | Noticed these in the code, figured we should stick to not using backslashes if possible. Change-Id: I55e5402683141e14df7c2b38883b1f3cc2a6bb6a
* Fix PEP8 E126 and E202 errorsDean Troyer2014-06-271-110/+119
| | | | | | | Do both as they are all in the same set of files that required major re-formatting. Change-Id: I6e8a8ce19a55105124a33c0e2487fc4b4e06d252
* Refactor oauth1 code for updatesSteve Martinelli2014-06-141-0/+152
The keystoneclient code for oauth1 support has changed. As such, we should remove the delete, list and authenticate functions, since they are not in keystoneclient. Also, we must now pass in the project id when creating a request token. Additionally we must now pass in roles when authorizing a request token. Added functional tests to ensure output and input args are the same. bp add-oauth-support Change-Id: I559c18a73ad95a0c8b7a6a95f463b78334186f61