summaryrefslogtreecommitdiff
path: root/keystoneclient
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Improve implied-role functional tests"3.3.0Jenkins2016-07-282-28/+31
|\
| * Improve implied-role functional testsNisha Yadav2016-07-132-28/+31
| | | | | | | | | | | | | | Improves functional tests for implied-roles by using fixtures retaining the similarity with other client-functional-tests. Change-Id: Ia5531964b0064590845d58488f2d43ddf34d8129
* | Use assertEqual() instead of assertDictEqual()Tang Chen2016-07-263-24/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenStack now has dropped support for python 2.6 and lower. So we don't need to define an assertDictEqual() for python lower than 2.7. Further, assertEqual() in testtools is able to handle dicts comparation, just the same as assertDictEqual() in unittest2. So we do't need to call assertDictEqual() for dicts any more. Please also refer to: https://review.openstack.org/#/c/347097/ Change-Id: Ieaf211617c38aa0f9a38625b1009c36bd6a16fba
* | Merge "Use the adapter instead of the client in tests"Jenkins2016-07-181-1/+1
|\ \ | |/ |/|
| * Use the adapter instead of the client in testsDavid Stanek2016-07-051-1/+1
| | | | | | | | | | | | | | | | Both the V2.0 and V3 clients create managers by passing in an instance of the _KeystoneAdapter class. Is seems reasonable for the tests to do the same things to keep everything consistent. Change-Id: I06d256e71105fdad3f4d182a53a6887617b4cffe
* | Remove unused LOGji-xuepeng2016-07-093-12/+0
| | | | | | | | | | | | This is to remove unused LOG to keep code clean. Change-Id: Ic123f89a341d6cf57c4f26568b626a49c6745045
* | Merge "Improve docs for v3 regions"Jenkins2016-07-081-22/+51
|\ \
| * | Improve docs for v3 regionsNisha Yadav2016-07-071-22/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | In preparation to add functional tests for v3 regions, this change proposes to detail the method docs, because the tests need to be based on them. Change-Id: I8d2169608d4acdc95116f49ea45cb6a15ba3b6e3 Partial-Bug: #1330769
* | | Merge "Add policy functional tests"Jenkins2016-07-062-0/+100
|\ \ \ | |/ /
| * | Add policy functional testsNisha Yadav2016-07-062-0/+100
| | | | | | | | | | | | | | | | | | Adds functional tests for policies. Change-Id: I0b217b8c75ce245ab56fdfff17bf337ab9e4164c
* | | Merge "Improve docs for v3 policies"Jenkins2016-07-061-4/+49
|\ \ \ | |/ /
| * | Improve docs for v3 policiesNisha Yadav2016-07-061-4/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | In preparation to add functional tests for v3 policies, this change proposes to detail the method docs, because the tests need to be based on them. Change-Id: I8fef9c2ec54e38648e1000874c6d2381b6fad576 Partial-Bug: #1330769
* | | Merge "Add service functional tests"Jenkins2016-07-062-0/+146
|\ \ \ | |/ /
| * | Add service functional testsNisha Yadav2016-07-062-0/+146
| | | | | | | | | | | | | | | | | | Adds functional tests for services. Change-Id: Ied0ad0455799072d1e283024f12ea83e5603bce6
* | | Merge "Improve docs for v3 services"Jenkins2016-07-051-0/+54
|\ \ \ | |/ / | | / | |/ |/|
| * Improve docs for v3 servicesNisha Yadav2016-07-051-0/+54
| | | | | | | | | | | | | | | | | | In preparation to add functional tests for v3 services, this change proposes to detail the method docs, because the tests need to be based on them. Change-Id: Ic7aaadcd8f8d5ebdec0cd908e7cbe4f997a17b54 Partial-Bug: #1330769
* | Remove print in tests.functional.v3.test_implied_rolesyuyafei2016-07-051-1/+0
|/ | | | | | TrivialFix Change-Id: Icc9d6c76faaf29cba98111ee82dffc94fc0b2030
* Follow up patch for Improve docs for v3 projectsNisha Yadav2016-06-251-4/+8
| | | | | | | This patch fixes some nits left by the review I3961945a2833fcd4a04c8e2fa294ecd3a12cfbe2. Change-Id: I8c7c4c926d60d0b0ba44c3c7a42e5eef7be9441c
* Improve docs for v3 projectsNisha Yadav2016-06-221-27/+62
| | | | | | | | In preparation to add functional tests for v3 projects, this change proposes to detail the method docs, because the tests need to be based on them. Change-Id: I3961945a2833fcd4a04c8e2fa294ecd3a12cfbe2
* Add group functional testsNisha Yadav2016-06-211-0/+94
| | | | | | | | | Adds functional tests for groups. For now, the tests are created under a single class. Once we have a gate that runs against LDAP, we will create a class that only contains readonly tests and a tox call for it (e.g tox -e functional-readonly). Change-Id: Ib1db14367b8dc3bd6356aff0dfef1fc573211c6e
* Merge "Improve docs for v3 groups"Jenkins2016-06-211-4/+50
|\
| * Improve docs for v3 groupsNisha Yadav2016-06-211-4/+50
| | | | | | | | | | | | | | | | In preparation to add client functional tests for v3 groups, this change proposes to detail the method docs, because the tests need to be based on them. Change-Id: I12722effee092eed00841215e8f1e9ea2d323628
* | Follow up patch for add domain functional testsNisha Yadav2016-06-212-5/+4
|/ | | | | | | This patch fixes comments left by the review I74bff2728c09e6aafaced97a7836f51e58a81786. Change-Id: Ic74e8fbde2455280f5affaafb8d989a6b98feb75
* Add domain functional testsNisha Yadav2016-06-202-0/+112
| | | | | | | | | Adds functional tests for domains. For now, the tests are created under a single class. Once we have a gate that runs against LDAP, we will create a class that only contains readonly tests and a tox call for it (e.g tox -e functional-readonly). Change-Id: I74bff2728c09e6aafaced97a7836f51e58a81786
* Improve docs for v3 domainsNisha Yadav2016-06-201-1/+48
| | | | | | | | In preparation to add functional tests for v3 domains, this change proposes to detail the method docs, because the tests need to be based on them. Change-Id: I78e62fbd877ba32744fa3587ad2eb497bfb79fc2
* Use /v3/auth/projects and /v3/auth/domainsLance Bragstad2016-06-133-6/+6
| | | | | | | | | The OS-FEDERATION/projects and OS-FEDERATION/domains APIs are deprecated. We should switch python-keystoneclient to use the correct API before they are removed. Change-Id: Id58a62d538e8d6f70af420bd6c98278522720466 Closes-Bug: 1590037
* Merge "Add users functional tests"Jenkins2016-06-102-0/+172
|\
| * Add users functional testsSamuel de Medeiros Queiroz2016-05-122-0/+172
| | | | | | | | | | | | | | | | | | Adds initial set of functional tests for users. For now, all the tests are created under a single class. Once we have a gate that runs against LDAP, we will create a class that only contains readonly tests and a tox call for it (e.g tox -e functional-readonly). Change-Id: Ie41872a1ad86db6219dd0af47dbc3e2db46bd878
* | Handle EmptyCatalog exception in list federated projectsPaulo Ewerton2016-06-082-1/+104
| | | | | | | | | | | | | | | | | | | | | | | | This patch handles the EmptyCatalog exception raised from the keystoneauth1.access.service_catalog.url_for function when listing projects in the unscoped token case. Also a new test class, K2KFederatedProjectTests, is added. Co-Authored-By: Doug Fish <drfish@us.ibm.com> Change-Id: I37e601cf0126ddae2a3e5ec255f4e4703ecf7682 Closes-Bug: #1471943
* | Merge "map fixtures to keystoneauth"Jenkins2016-05-236-879/+47
|\ \ | |/ |/|
| * map fixtures to keystoneauthSteve Martinelli2016-05-226-879/+47
| | | | | | | | | | | | | | point to the latest fixtures in keystoneauth so we do not need to update code in two spots. Change-Id: I1e9ffdafd4dc06b84bc643e570dbea0132b47540
* | Merge "Improve docs for v3 users"Jenkins2016-05-111-16/+122
|\ \
| * | Improve docs for v3 usersSamuel de Medeiros Queiroz2016-05-111-16/+122
| | | | | | | | | | | | | | | | | | | | | | | | In preparation to add functional tests for v3 users, this change proposes to detail the method docs, because the tests need to be based on them. Change-Id: I8f725ca8071e592fdf932bf83f72eaebf588bb6b
* | | Merge "Replace tempest-lib with tempest.lib"Jenkins2016-05-051-1/+1
|\ \ \
| * | | Replace tempest-lib with tempest.libDaniel Gonzalez2016-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | tempest-lib is deprecated, replace it with tempest.lib. Closes-Bug: #1553047 Change-Id: Ib03938b133f2aca1e73ec5df5815cff9dfe7b2e2
* | | | Merge "Add federation related tests"Jenkins2016-05-051-0/+106
|\ \ \ \
| * | | | Add federation related testsRodrigo Duarte2016-04-291-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the test_federation file with some tests for Identity Providers, the tests are not supposed to be exhaustive, they are rather simple and intend to cover the basic actions in the Identity Provider handling. More complete tests should be added later. Change-Id: Ibe618dcd646912060b1785d8d72fd526dd4a083b
* | | | | Merge "Fixing D105 PEP257"Jenkins2016-05-0413-0/+16
|\ \ \ \ \
| * | | | | Fixing D105 PEP257Navid Pustchi2016-05-0413-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently tox ignores D105. D105: Missing docstring in magic method. This change removes it and make keystoneclient docstring compliant with it. Change-Id: I34dfc164891880425f542f8f8aa3426ec8640c96
* | | | | | Merge "Fixing D200 PEP257 violation."Jenkins2016-05-042-9/+3
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Fixing D200 PEP257 violation.Navid Pustchi2016-05-042-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently tox ignores D200. D200: One-line docstring should fit on one line with quotes. This change removes D200 ignore in tox and fix violations. Change-Id: Icbf8cc1d4f1c00daeedeffe4397369f9e468b191
* | | | | | Merge "Fixing D202 and D203 PEP257 violation."Jenkins2016-05-0434-63/+0
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Fixing D202 and D203 PEP257 violation.Navid Pustchi2016-05-0434-63/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently tox ignores D202 and D203. D202: No blank lines allowed after function docstring. D203: 1 blank required before class docstring. This change removes D202 and D203 ignores in tox and fix violations. Change-Id: I97ef88c9cfd56774e47f789cbbcf8ccfe85d7737
* | | | | | Merge "Fixing D204, D205, and D207 PEP257 violation."Jenkins2016-05-0433-2/+62
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Fixing D204, D205, and D207 PEP257 violation.Navid Pustchi2016-05-0433-2/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently tox ignores D204, D205, and D207. D204: 1 blank required after class docstring. D205: Blank line required between one-line summary and description. D207: Docstring is under-indented. This change removes D204, D205, and D207 ignores in tox and fix violations. Change-Id: Id20d216fbd7647d468859b960088aac61c582d9b
* | | | | | Merge "httpclient: remove unused debug kwargs"Jenkins2016-05-042-6/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | httpclient: remove unused debug kwargsJulien Danjou2016-05-022-6/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has been deprecated for a while and is now not even used anymore. Indeed, nothing in the code use the attribute keystoneclient.httpclient.HTTPClient.debug_log. Furthermore, removing the debug keyword argument from the signature of keystoneclient.httpclient.HTTPClient.__init__ has no impact since this signature include **kwargs, which in Python means that you it will accept any keyword-argument. Any code that would still pass the debug argument to that method will therefore not notice any difference and will not fail. Change-Id: Iaae4febf3f13f6a66ad0e792dc2347b4699f65c0
* | | | | Fixing D208 PEP257 violation.Navid Pustchi2016-05-032-24/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently tox ignores D208. D208: Docstring is over-indented. This change removes D208 ignore and fix violations. Change-Id: Ifec21c7602468b2a60727b64d27e7f14d765638c
* | | | | Fixing D211 PEP257 violation.Navid Pustchi2016-05-022-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently tox ignores D211. D211: No blank lines allowed before class docstring This change removes D211 ignore and fix violations. Change-Id: I79404110896ced7f79999b8c099e2a70b01ec968
* | | | | Fixing D301 PEP257 violation.Navid Pustchi2016-05-024-4/+4
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently tox ignores D301. D301: Use r”“” if any backslashes in adocstring. This change removes D301 ignore and fix violations. Change-Id: I9dbe2c9d59e2c2d8585a53840a579a9b9c57a09c