| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
assertItemsEqual was removed from Python's unittest.TestCase in
Python 3.3 [1][2]. We have been able to use them since then, because
testtools required unittest2, which still included it. With testtools
removing Python 2.7 support [3][4], we will lose support for
assertItemsEqual, so we should switch to use assertCountEqual.
[1] - https://bugs.python.org/issue17866
[2] - https://hg.python.org/cpython/rev/d9921cb6e3cd
[3] - testing-cabal/testtools#286
[4] - testing-cabal/testtools#277
Change-Id: Ib5985049235ee1b6018fc172a67e3b05970a6c42
|
| |
|
|
|
|
|
| |
Fix F601 failures:
F601 dictionary key '...' repeated with different values
Change-Id: I4c12f5a2348371966215e1ae05b726e6d04b0c8f
|
| |
|
|
|
|
|
|
|
|
| |
This patch introduces the interface into listing project, to
specify parent_id to filter projects which has the given project
as their parent[1].
[1] https://docs.openstack.org/api-ref/identity/v3/?expanded=list-projects-detail#list-projects
Change-Id: If78030425468d4f99cba708540142871a2bf9190
|
| |
|
|
|
|
|
| |
Use the devstack-tox-functional-consumer job as a parent job to allow us
to remove the custom playbooks and devstack hooks.
Change-Id: Ide6e6da3cbb479b5149fb44f0ef392dc80202910
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds the client functionality for the following project tag calls:
- Create a project tag on a project
- Check if a project tag exists on a project
- List project tags on a project
- Modify project tags on a project
- Delete a specific project tag on a project
- Delete all project tags on a project
Co-Authored-By: Jess Egler <jess.egler@gmail.com>
Co-Authored-By: Rohan Arora <ra271w@att.com>
Co-Authored-By: Tin Lam <tin@irrational.io>
Partially Implements: bp project-tags
Change-Id: I486b2969ae0aa2638842d842fb8b0955cc086d25
|
| |
|
|
| |
Change-Id: I207b716e47893931e79e3758abc2bd879917f340
|
| |
|
|
|
|
|
| |
Zuul v2 uses 'jenkins' as user, but Zuul v3 uses 'zuul'.
Using $USER solves it for both cases.
Change-Id: I42cfcd4d8dee2ff3a99e42a5a64f3c38163972b8
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following API calls are made available:
- GET /OS-EP-FILTER/projects/{project_id}/endpoint_groups
- GET /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}/projects
- PUT /OS-EP-FILTER/endpoint_groups/{endpoint_group}/projects/{project_id}
- HEAD /OS-EP-FILTER/endpoint_groups/{endpoint_group}/projects/{project_id}
- DELETE /OS-EP-FILTER/endpoint_groups/{endpoint_group}/projects/{project_id}
Co-Authored-By: Samuel de Medeiros Queiroz <samueldmq@gmail.com>
Closes-Bug: #1641674
Change-Id: Idf938267479b5b8c50c9aa141c3c2770c2d69839
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The following API calls are made available:
- POST /OS-EP-FILTER/endpoint_groups
- GET /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
- HEAD /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
- PATCH /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
- DELETE /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
- GET /OS-EP-FILTER/endpoint_groups
Partial-Bug: #1641674
Change-Id: I285eefe82152b178268f671e8800a0ff8c1511e4
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before, the way filters were passed in would not allow filtering
on the same key.
For example:
keystone.users.list(name__contains='test', name__contains='user')
This fails because of how kwargs handles key/value pairs.
This patch allows using multiple values for the same filter.
Example:
keystone.users.list(name__contains=['test', 'user'])
Specifying the only one filter value is still functional as expected.
Co-Authored-By: Jeffrey Augustine <ja224e@att.com>
Partially-Implements: bp pci-dss-query-password-expired-users
Change-Id: I89cecf7e18974e7860ba0925840d6264168eabcb
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- At least one API was not implemented (list_implied_roles)
- the tests were lacking assertions and proper mocked responses
- some of the functionality just didn't work (see bug)
- returning Role objects instead of InferenceRule objects
Related commits:
- I80a40e88b571fe9b0eca3af8b705ea79f28eb904
- I66e863fb83f8dfcca2c48116d4377df060f402c3
Closes-Bug: 1647934
Change-Id: I7b449a93d7d4d3eb9ca857f6c1f78f884bad2534
|
| |
|
|
|
|
|
| |
Do not reuse the environment's domain and project, create new ones for
the tests.
Change-Id: I91a5c1b42c0b31f548c1154a4ef028f45cf1cd24
|
| |
|
|
|
|
|
| |
Do not reuse client's domain, create a new one to be used only by the
test, which is destroyed later.
Change-Id: I4e3bb11a92535650317a30e6a1854bfd161ee93f
|
| |
|
|
| |
Change-Id: If3894679d21709ab813b4675c4bc721a3987596a
|
| |
|
|
|
|
|
| |
Do not reuse the environment domain, create a new one to be fully
controlled by the test cases.
Change-Id: Idb894da724e252b01405fc937c021fd8981ee090
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provide support for the domain-specific configuration storage available
via the REST API.
Domain configs are JSON blobs and we have fine grained control on them
via the Identity API. This fine grained control is not defined yet in the
client, though - for now, we can manage everything like Python dictionaries
and use operations like "update" whenever we want to delete a specific group
or option. This approach is similar to what is done in the federation mapping
API to handle mapping rules.
Functional tests are also included, this is useful to check if the new
feature works in an integration environment.
Co-Auhtored-By: Henry Nash <henryn@linux.vnet.ibm.com>
Co-Authored-By: Rodrigo Duarte <rduartes@redhat.com>
Closes-Bug: 1433306
Partially Implements: blueprint domain-config-ext
Change-Id: Ie6795b8633fed38c58b79250c11c9a045b7f95a4
|
| |
|
|
| |
Change-Id: I17dbbd1ca4b940596c913d58a11bd83f19993bb6
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
According to the guidelines, we should import modules instead of classes
[1].
[1] http://docs.openstack.org/developer/hacking/#imports
Change-Id: I43d881597eb92e98196dad84776c0e229c288b6f
|
| |/
|
|
|
|
|
|
|
|
|
| |
This reverts commit 2a91a41142080a4f1abb8f9846f88846c6b5c6b7.
This is a quick fix to unblock the python-keystoneclient gate. Not
closing the bug since we can fix the test behavior by using an extra
client just to run the tests operations.
Change-Id: I976488243ad3c357cd2aeb604973603380858dc4
Related-Bug: 1626131
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
This patch adds the test_list_ec2 left by the review
I19988661e2d92a3e501a04e2a0e2d773ddcc36e9
Change-Id: Id53fbcb3e82d3bc47babd1129d533dfbc6c13791
|
| |/
|
|
|
|
| |
Adds functional tests for auth.
Change-Id: I62b42b7318cb0a85dee280931e44f6e5852216f0
|
| |
|
|
|
|
| |
Adds functional tests for ec2.
Change-Id: I19988661e2d92a3e501a04e2a0e2d773ddcc36e9
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Adds functional tests for credentials.
Change-Id: Ia483c47956747a241bc521c0e67a874e794d709c
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds functional tests for roles. 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: I62b022044b56b6219a83e9e5cc0136c95389db16
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
That test is not supposed to test the count of roles. It is about role
inference rules. This change removes the pure role checks, as it is not
the main intent of the test.
This also fixes a related bug where this test is failing
intermittently. See the bug description for more details.
Change-Id: I8ea1b6d8f344296486427a1f9ebc31c58314501e
Closes-Bug: 1609398
|
| |
|
|
|
|
| |
Adds functional tests for endpoints.
Change-Id: I0ae9f3ed3fd934d68328267c681d6af2856fe8c1
|
| |
|
|
|
|
| |
Adds functional tests for regions.
Change-Id: I809cd9ea320f3fda7348a110bd30fff1c411fcae
|
| |
|
|
|
|
| |
Adds functional tests for projects.
Change-Id: I72e7a4718f30851cf2046ebfe6e5cc95a517ebf6
|
| |
|
|
|
|
|
| |
Improves functional tests for implied-roles by using fixtures
retaining the similarity with other client-functional-tests.
Change-Id: Ia5531964b0064590845d58488f2d43ddf34d8129
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Adds functional tests for policies.
Change-Id: I0b217b8c75ce245ab56fdfff17bf337ab9e4164c
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| | |
Adds functional tests for services.
Change-Id: Ied0ad0455799072d1e283024f12ea83e5603bce6
|
| |/
|
|
|
|
| |
TrivialFix
Change-Id: Icc9d6c76faaf29cba98111ee82dffc94fc0b2030
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
This patch fixes comments left by the review
I74bff2728c09e6aafaced97a7836f51e58a81786.
Change-Id: Ic74e8fbde2455280f5affaafb8d989a6b98feb75
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
tempest-lib is deprecated, replace it with tempest.lib.
Closes-Bug: #1553047
Change-Id: Ib03938b133f2aca1e73ec5df5815cff9dfe7b2e2
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
Currently tox ignores D208.
D208: Docstring is over-indented.
This change removes D208 ignore and fix violations.
Change-Id: Ifec21c7602468b2a60727b64d27e7f14d765638c
|
| |/
|
|
|
|
|
|
| |
keystoneclient/tests/functional/v3/test_implied_roles.py is a test
module, and it doesn't have main entry, hence the executable flag
is not needed.
Change-Id: Ic226607afcd82d2411cbe1cd5439b0db5f77728c
|
| |
|
|
|
|
|
|
| |
Currently tox ignores D400.
D400: First line should end with a period.
This change removes it and make keystoneclient docstrings compliant with it.
Change-Id: I29ecb4c58bb03c0b9a3be0b7a74d18fb06a350f2
|