<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-keystoneclient.git/keystoneclient/tests/unit/test_base.py, branch 3.1.0</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>Change tests to pass session to Client</title>
<updated>2016-02-28T17:17:43+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2016-02-28T15:42:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=1b3b4a8a54f0cc9e91272316ff153dfa9e32936b'/>
<id>1b3b4a8a54f0cc9e91272316ff153dfa9e32936b</id>
<content type='text'>
It's deprecated to construct a Client without a session. There were
several tests that were constructing a Client without a session. So
that we can eventually remove the deprecated behavior, change these
tests to use a session.

Change-Id: Ib73d7807bb62aa84485df84b89dff4ca6956a30b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's deprecated to construct a Client without a session. There were
several tests that were constructing a Client without a session. So
that we can eventually remove the deprecated behavior, change these
tests to use a session.

Change-Id: Ib73d7807bb62aa84485df84b89dff4ca6956a30b
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Support `truncated` flag returned by identity service"</title>
<updated>2016-02-26T21:39:00+00:00</updated>
<author>
<name>Monty Taylor</name>
<email>mordred@inaugust.com</email>
</author>
<published>2016-02-26T21:39:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=b4b168bdbf9554bae0faf77354b5d592f98e6846'/>
<id>b4b168bdbf9554bae0faf77354b5d592f98e6846</id>
<content type='text'>
This reverts commit 870be44c0ed5564101f9cf9d53e8085fb01680c8.

This change breaks end users of the library. See:

http://logs.openstack.org/50/285450/1/check/gate-shade-dsvm-functional-keystone2/d1093b5/console.html#_2016-02-26_20_49_32_928

For an example of a consumer of the library being broken.

Change-Id: I1912003afb89579eb869767db7a411c451bc9806
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 870be44c0ed5564101f9cf9d53e8085fb01680c8.

This change breaks end users of the library. See:

http://logs.openstack.org/50/285450/1/check/gate-shade-dsvm-functional-keystone2/d1093b5/console.html#_2016-02-26_20_49_32_928

For an example of a consumer of the library being broken.

Change-Id: I1912003afb89579eb869767db7a411c451bc9806
</pre>
</div>
</content>
</entry>
<entry>
<title>Support `truncated` flag returned by identity service</title>
<updated>2016-02-26T00:06:09+00:00</updated>
<author>
<name>Boris Bobrov</name>
<email>bbobrov@mirantis.com</email>
</author>
<published>2016-02-15T11:14:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=870be44c0ed5564101f9cf9d53e8085fb01680c8'/>
<id>870be44c0ed5564101f9cf9d53e8085fb01680c8</id>
<content type='text'>
Create a custom list with flag `truncated` to support corresponding
response from the identity service.

This is wanted by Horizon, that wants to know that the list returned
from keystone is not full and that more strict filters need to be
applied.

The previous attempt in commit c28d40814962b3a8ccb81e5e7d7f832c8f0a3c9a
was reverted by d20b300589863bcf165945beb129ebcc3621a14f because it
broke other code. This commit changes the way the flag is added and
verifies that existing code will not break.

Change-Id: Ia86cfd91110adae6d7ab86ff1f152a8f9be27837
Closes-Bug: 1520244
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create a custom list with flag `truncated` to support corresponding
response from the identity service.

This is wanted by Horizon, that wants to know that the list returned
from keystone is not full and that more strict filters need to be
applied.

The previous attempt in commit c28d40814962b3a8ccb81e5e7d7f832c8f0a3c9a
was reverted by d20b300589863bcf165945beb129ebcc3621a14f because it
broke other code. This commit changes the way the flag is added and
verifies that existing code will not break.

Change-Id: Ia86cfd91110adae6d7ab86ff1f152a8f9be27837
Closes-Bug: 1520244
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Resource.__eq__ mismatch semantics of object equal</title>
<updated>2015-12-16T07:53:31+00:00</updated>
<author>
<name>Rui Chen</name>
<email>chenrui.momo@gmail.com</email>
</author>
<published>2015-12-01T12:32:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=fcbb2d724899e265e168100718399f7886f3f1f5'/>
<id>fcbb2d724899e265e168100718399f7886f3f1f5</id>
<content type='text'>
The __eq__ of apiclient.base.Resource will return True,
if the two objects have same id, even if they have different
other attributes value. The behavior is weird and don't
match the semantics of object equal. The objects that have
different value should be different objects.
Fix this issue and add some test cases in this patch.

Change-Id: I1565c6e66d6dd6cf7bd2b7e8526157190deb45de
Closes-Bug: #1499369
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The __eq__ of apiclient.base.Resource will return True,
if the two objects have same id, even if they have different
other attributes value. The behavior is weird and don't
match the semantics of object equal. The objects that have
different value should be different objects.
Fix this issue and add some test cases in this patch.

Change-Id: I1565c6e66d6dd6cf7bd2b7e8526157190deb45de
Closes-Bug: #1499369
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate create v2_0 Client without session</title>
<updated>2015-08-14T00:01:42+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2015-07-26T13:46:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=b94a61012ed9749f818e88366c57aa566a39101d'/>
<id>b94a61012ed9749f818e88366c57aa566a39101d</id>
<content type='text'>
There was a comment to deprecate creating a v2_0 Client
without a session.

bp deprecations

Change-Id: I71ff64754c8f90d184615eeec558718c11a1794a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was a comment to deprecate creating a v2_0 Client
without a session.

bp deprecations

Change-Id: I71ff64754c8f90d184615eeec558718c11a1794a
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix tests passing user, project, and token</title>
<updated>2015-07-26T11:54:23+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2015-07-24T20:21:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=0b745909a66508b539c848e2d8101a56abadb69e'/>
<id>0b745909a66508b539c848e2d8101a56abadb69e</id>
<content type='text'>
The tests were creating httpclient.HTTPClient() using username,
token, and project, but if you pass a token then username and
project are going to be ignored since there's no need to auth.

Make the tests more understandable by removing the ignored and
useless parameters.

bp deprecations

Change-Id: Ide3f4be4dd00db89f551d014876625cff296f6a7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tests were creating httpclient.HTTPClient() using username,
token, and project, but if you pass a token then username and
project are going to be ignored since there's no need to auth.

Make the tests more understandable by removing the ignored and
useless parameters.

bp deprecations

Change-Id: Ide3f4be4dd00db89f551d014876625cff296f6a7
</pre>
</div>
</content>
</entry>
<entry>
<title>Proper deprecation for Manager.api</title>
<updated>2015-07-26T11:54:23+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2015-07-24T19:14:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=c5b03191b6714fed15bd88769c89e897257c337d'/>
<id>c5b03191b6714fed15bd88769c89e897257c337d</id>
<content type='text'>
base.Manager's api property wasn't properly deprecated since all it
had was documentation. Proper deprecation requires use of warnings
and documentation.

bp deprecations

Change-Id: Ic5e218151e9b3f3b66f78729052680691d5ad582
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
base.Manager's api property wasn't properly deprecated since all it
had was documentation. Proper deprecation requires use of warnings
and documentation.

bp deprecations

Change-Id: Ic5e218151e9b3f3b66f78729052680691d5ad582
</pre>
</div>
</content>
</entry>
<entry>
<title>Use mock rather than mox</title>
<updated>2015-06-13T14:02:09+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2015-06-13T13:17:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=f249332bb61dfa47a77e4b5a0b76581763936680'/>
<id>f249332bb61dfa47a77e4b5a0b76581763936680</id>
<content type='text'>
Switch to mock rather than mox. We should pick one or the other
mocking library, and mock is preferred.

Change-Id: I86ad9638da2f53189fbaea3fd9476356eb0c7ff5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch to mock rather than mox. We should pick one or the other
mocking library, and mock is preferred.

Change-Id: I86ad9638da2f53189fbaea3fd9476356eb0c7ff5
</pre>
</div>
</content>
</entry>
<entry>
<title>Move tests to the unit subdirectory</title>
<updated>2015-02-11T08:03:25+00:00</updated>
<author>
<name>Jamie Lennox</name>
<email>jamielennox@redhat.com</email>
</author>
<published>2015-02-11T08:03:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=6bd93179a2966f2b5c67e297628510ac73689fb3'/>
<id>6bd93179a2966f2b5c67e297628510ac73689fb3</id>
<content type='text'>
Move all the existing tests to the unit/ subdirectory. This gives us
some room to add a functional/ directory later with other tests.

Change-Id: I0fb8d5b628eb8ee1f35f05f42d0c0ac9f285e8c3
Implements: functional-testing
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move all the existing tests to the unit/ subdirectory. This gives us
some room to add a functional/ directory later with other tests.

Change-Id: I0fb8d5b628eb8ee1f35f05f42d0c0ac9f285e8c3
Implements: functional-testing
</pre>
</div>
</content>
</entry>
</feed>
