<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-keystoneclient.git/keystoneclient/tests/functional/v3, branch master</title>
<subtitle>opendev.org: openstack/python-keystoneclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/'/>
<entry>
<title>Replace assertItemsEqual with assertCountEqual</title>
<updated>2020-07-12T03:20:38+00:00</updated>
<author>
<name>gugug</name>
<email>gu.jin@99cloud.net</email>
</author>
<published>2020-07-12T03:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=f88a23acb1cbe3f1b6c672f714edb0ab5f83960b'/>
<id>f88a23acb1cbe3f1b6c672f714edb0ab5f83960b</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Hacking: Fix F601</title>
<updated>2020-03-31T10:18:57+00:00</updated>
<author>
<name>Andreas Jaeger</name>
<email>aj@suse.com</email>
</author>
<published>2020-03-31T10:17:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=98c5c68367f8a7a1afb4b6d7875e50a05900148f'/>
<id>98c5c68367f8a7a1afb4b6d7875e50a05900148f</id>
<content type='text'>
Fix F601 failures:
F601 dictionary key '...' repeated with different values

Change-Id: I4c12f5a2348371966215e1ae05b726e6d04b0c8f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix F601 failures:
F601 dictionary key '...' repeated with different values

Change-Id: I4c12f5a2348371966215e1ae05b726e6d04b0c8f
</pre>
</div>
</content>
</entry>
<entry>
<title>Add parent project filter for listing projects</title>
<updated>2019-08-29T07:50:26+00:00</updated>
<author>
<name>Takashi Kajinami</name>
<email>tkajinam@redhat.com</email>
</author>
<published>2019-08-19T01:42:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=2d3ec6eb89574d442c357b2b8231367ba1ac24f6'/>
<id>2d3ec6eb89574d442c357b2b8231367ba1ac24f6</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Add project tags to keystoneclient</title>
<updated>2017-12-20T19:51:08+00:00</updated>
<author>
<name>Samuel Pilla</name>
<email>sp516w@att.com</email>
</author>
<published>2017-08-18T21:16:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=9cfbf96620a8d01605c9eb553ad72b76068b79b4'/>
<id>9cfbf96620a8d01605c9eb553ad72b76068b79b4</id>
<content type='text'>
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 &lt;jess.egler@gmail.com&gt;
Co-Authored-By: Rohan Arora &lt;ra271w@att.com&gt;
Co-Authored-By: Tin Lam &lt;tin@irrational.io&gt;

Partially Implements: bp project-tags

Change-Id: I486b2969ae0aa2638842d842fb8b0955cc086d25
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;jess.egler@gmail.com&gt;
Co-Authored-By: Rohan Arora &lt;ra271w@att.com&gt;
Co-Authored-By: Tin Lam &lt;tin@irrational.io&gt;

Partially Implements: bp project-tags

Change-Id: I486b2969ae0aa2638842d842fb8b0955cc086d25
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for endpoint group filtering</title>
<updated>2017-04-13T17:19:39+00:00</updated>
<author>
<name>Enrique Garcia Navalon</name>
<email>garcianavalon@gmail.com</email>
</author>
<published>2015-05-13T13:00:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=2cc2f1081f3a2762ec469bd4b3cc2ed46fe0b73e'/>
<id>2cc2f1081f3a2762ec469bd4b3cc2ed46fe0b73e</id>
<content type='text'>
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 &lt;samueldmq@gmail.com&gt;

Closes-Bug: #1641674

Change-Id: Idf938267479b5b8c50c9aa141c3c2770c2d69839
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;samueldmq@gmail.com&gt;

Closes-Bug: #1641674

Change-Id: Idf938267479b5b8c50c9aa141c3c2770c2d69839
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add support for endpoint group CRUD"</title>
<updated>2017-02-14T16:09:39+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-02-14T16:09:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=04ff88189a240acf88d893a3511721c39f8a5f5e'/>
<id>04ff88189a240acf88d893a3511721c39f8a5f5e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for endpoint group CRUD</title>
<updated>2017-02-11T12:38:37+00:00</updated>
<author>
<name>Samuel de Medeiros Queiroz</name>
<email>samueldmq@gmail.com</email>
</author>
<published>2017-01-06T02:37:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=34d99f0c09a253b3f51f3855fa6ce7449ffc235e'/>
<id>34d99f0c09a253b3f51f3855fa6ce7449ffc235e</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow Multiple Filters of the Same Key</title>
<updated>2017-01-25T01:43:53+00:00</updated>
<author>
<name>Samuel Pilla</name>
<email>sp516w@att.com</email>
</author>
<published>2017-01-20T15:43:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=ef6ffa651616476d4207549b3121bfde096e16cf'/>
<id>ef6ffa651616476d4207549b3121bfde096e16cf</id>
<content type='text'>
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 &lt;ja224e@att.com&gt;
Partially-Implements: bp pci-dss-query-password-expired-users
Change-Id: I89cecf7e18974e7860ba0925840d6264168eabcb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;ja224e@att.com&gt;
Partially-Implements: bp pci-dss-query-password-expired-users
Change-Id: I89cecf7e18974e7860ba0925840d6264168eabcb
</pre>
</div>
</content>
</entry>
<entry>
<title>re-work inference rule bindings</title>
<updated>2016-12-19T03:16:31+00:00</updated>
<author>
<name>Steve Martinelli</name>
<email>s.martinelli@gmail.com</email>
</author>
<published>2016-12-18T21:07:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=0b00c0e7b17ad1a156fc2dbaccde97e3d47ba115'/>
<id>0b00c0e7b17ad1a156fc2dbaccde97e3d47ba115</id>
<content type='text'>
- 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor test_projects</title>
<updated>2016-12-06T02:58:38+00:00</updated>
<author>
<name>Rodrigo Duarte Sousa</name>
<email>rduartes@redhat.com</email>
</author>
<published>2016-12-01T13:00:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=2b9d1554cc7ab08dd6606a0338843be268c868df'/>
<id>2b9d1554cc7ab08dd6606a0338843be268c868df</id>
<content type='text'>
Do not reuse the environment's domain and project, create new ones for
the tests.

Change-Id: I91a5c1b42c0b31f548c1154a4ef028f45cf1cd24
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not reuse the environment's domain and project, create new ones for
the tests.

Change-Id: I91a5c1b42c0b31f548c1154a4ef028f45cf1cd24
</pre>
</div>
</content>
</entry>
</feed>
