<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-keystoneclient.git/keystoneclient/tests/unit/v3/test_auth.py, branch stein-em</title>
<subtitle>opendev.org: openstack/python-keystoneclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/'/>
<entry>
<title>Make tests pass in 2020</title>
<updated>2020-01-08T19:00:59+00:00</updated>
<author>
<name>Bernhard M. Wiedemann</name>
<email>bwiedemann@suse.de</email>
</author>
<published>2019-02-28T13:06:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=abe757aa70b262068f26b2b634b8fff06a8fbfdf'/>
<id>abe757aa70b262068f26b2b634b8fff06a8fbfdf</id>
<content type='text'>
Without this patch, build failed after 2019-12-31 with
Traceback (most recent call last):
  File "keystoneclient/tests/unit/v3/test_auth.py", line 226, in test_authenticate_success_password_unscoped
    self.assertRequestBodyIs(json=self.TEST_REQUEST_BODY)
  File "keystoneclient/tests/unit/utils.py", line 72, in assertRequestBodyIs
    self.assertEqual(json, val)

NOTE: in addition to the orginal backport, this patch also fix bandit
complains. The literal 'sha256' is the default hash algorithm, not a sensitive
password. Marking it as false positive so bandit can stop chirping.

Change-Id: I0e44d9896c5970f0ca07438c372aec826aeb5c77
(cherry picked from commit acc21ff06154e16de16583fe6994207d689ed054)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without this patch, build failed after 2019-12-31 with
Traceback (most recent call last):
  File "keystoneclient/tests/unit/v3/test_auth.py", line 226, in test_authenticate_success_password_unscoped
    self.assertRequestBodyIs(json=self.TEST_REQUEST_BODY)
  File "keystoneclient/tests/unit/utils.py", line 72, in assertRequestBodyIs
    self.assertEqual(json, val)

NOTE: in addition to the orginal backport, this patch also fix bandit
complains. The literal 'sha256' is the default hash algorithm, not a sensitive
password. Marking it as false positive so bandit can stop chirping.

Change-Id: I0e44d9896c5970f0ca07438c372aec826aeb5c77
(cherry picked from commit acc21ff06154e16de16583fe6994207d689ed054)
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace 'assertFalse(a in b)' with 'assertNotIn(a, b)'</title>
<updated>2016-11-18T02:56:54+00:00</updated>
<author>
<name>howardlee</name>
<email>lihongweibj@inspur.com</email>
</author>
<published>2016-11-18T02:56:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=626bfff17f3b491eb32d0eddd320970df0d81078'/>
<id>626bfff17f3b491eb32d0eddd320970df0d81078</id>
<content type='text'>
Trivial fix.

Change-Id: I818245eaa9e63322b1c6de049368aa4e09b01b4b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Trivial fix.

Change-Id: I818245eaa9e63322b1c6de049368aa4e09b01b4b
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests stop using deprecated HTTPClient.get()</title>
<updated>2016-02-28T14:14:28+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2016-02-28T14:14:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=c107a05b5e008d1a3f5c0e4ba380994a2798af75'/>
<id>c107a05b5e008d1a3f5c0e4ba380994a2798af75</id>
<content type='text'>
Several tests were using httpclient.HTTPClient.get(), which is
deprecated for removal. Tests that are not testing .get() need to
switch to a different method so that we can eventually remove it.

Change-Id: I757abdf2ed24d38b9064a38d33ef98a4614d6bb2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Several tests were using httpclient.HTTPClient.get(), which is
deprecated for removal. Tests that are not testing .get() need to
switch to a different method so that we can eventually remove it.

Change-Id: I757abdf2ed24d38b9064a38d33ef98a4614d6bb2
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Change default endpoint for Keystone v3 to public"</title>
<updated>2016-01-13T21:20:01+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2016-01-13T21:18:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=5e1cfbb7deeb7b5c819c45fadcf4abdf2ddcb118'/>
<id>5e1cfbb7deeb7b5c819c45fadcf4abdf2ddcb118</id>
<content type='text'>
This reverts commit d3b11d674d6539a0a09e0c432983ebf172e8ad79.

This is causing auth_token middleware tests to fail. The error is
like:

 EndpointNotFound: public endpoint for identity service in east
 region not found

So this is going to potentially affect customers.

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

This is causing auth_token middleware tests to fail. The error is
like:

 EndpointNotFound: public endpoint for identity service in east
 region not found

So this is going to potentially affect customers.

Change-Id: I5ad917e48c9b140709dd3bf95e89c07ea58d6a66
</pre>
</div>
</content>
</entry>
<entry>
<title>Change default endpoint for Keystone v3 to public</title>
<updated>2015-12-23T16:37:44+00:00</updated>
<author>
<name>Roxana Gherle</name>
<email>roxana.gherle@hp.com</email>
</author>
<published>2015-08-20T17:35:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=d3b11d674d6539a0a09e0c432983ebf172e8ad79'/>
<id>d3b11d674d6539a0a09e0c432983ebf172e8ad79</id>
<content type='text'>
All of the other Openstack services have a 'public' default endpoint
type. Keystone has 'admin' default endpoint type. Why not make
Keystone compliant and change the default for Keystone v3 from 'admin'
to 'public'. Keystone v2 will remain the same with an 'admin' default.

Closes-Bug: #1457702
Change-Id: I515438477dba72c2a0c4595603000690511b5700
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All of the other Openstack services have a 'public' default endpoint
type. Keystone has 'admin' default endpoint type. Why not make
Keystone compliant and change the default for Keystone v3 from 'admin'
to 'public'. Keystone v2 will remain the same with an 'admin' default.

Closes-Bug: #1457702
Change-Id: I515438477dba72c2a0c4595603000690511b5700
</pre>
</div>
</content>
</entry>
<entry>
<title>Removes py26 support</title>
<updated>2015-11-25T00:23:17+00:00</updated>
<author>
<name>David Stanek</name>
<email>dstanek@dstanek.com</email>
</author>
<published>2015-11-25T00:23:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=f4e6f12a714080a1e0391d4891d3bcf0eecfbaaf'/>
<id>f4e6f12a714080a1e0391d4891d3bcf0eecfbaaf</id>
<content type='text'>
We are removing Python 2.6 support from the Keystone libraries.

Change-Id: I1c7a79edd41a73946c9d77bfb8cd2075e2500760
Closes-Bug: 1519449
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We are removing Python 2.6 support from the Keystone libraries.

Change-Id: I1c7a79edd41a73946c9d77bfb8cd2075e2500760
Closes-Bug: 1519449
</pre>
</div>
</content>
</entry>
<entry>
<title>HTTPClient/region_name deprecation test updates</title>
<updated>2015-09-25T19:50:38+00:00</updated>
<author>
<name>Corey Bryant</name>
<email>corey.bryant@canonical.com</email>
</author>
<published>2015-09-25T19:42:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=5dea3b22fcc672f3e3405f5abec471929c501c0a'/>
<id>5dea3b22fcc672f3e3405f5abec471929c501c0a</id>
<content type='text'>
Creating an HTTPClient without a session is deprecated and
the ServiceCatalog's region_name parameter is also deprecated.
This follows suite with the following commits to update tests
to handle deprecation warnings:
  803eb235d50daad27074198effc98ca536f1550f
  42bd016e1f0e011ba745dba243e62401298e324c

Change-Id: I1c5a3dc2c8448873696262ca951c58666c692a61
Closes-Bug: #1499790
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Creating an HTTPClient without a session is deprecated and
the ServiceCatalog's region_name parameter is also deprecated.
This follows suite with the following commits to update tests
to handle deprecation warnings:
  803eb235d50daad27074198effc98ca536f1550f
  42bd016e1f0e011ba745dba243e62401298e324c

Change-Id: I1c5a3dc2c8448873696262ca951c58666c692a61
Closes-Bug: #1499790
</pre>
</div>
</content>
</entry>
<entry>
<title>Proper deprecation for HTTPClient.request methods</title>
<updated>2015-08-04T14:56:44+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2015-07-24T20:52:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=0c2fef51d2b90df088d30e9b6c5079caae7c6578'/>
<id>0c2fef51d2b90df088d30e9b6c5079caae7c6578</id>
<content type='text'>
HTTPClient.request and related methods weren't properly
deprecated since they were only mentioned in the docstrings.
Proper deprecation requires use of warnings/debtcollector and
documentation.

Also, fixed places where the deprecated request method was called.

bp deprecations

Change-Id: I0a16933252937ca046793bb6eb2e5cc5da03c9ae
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
HTTPClient.request and related methods weren't properly
deprecated since they were only mentioned in the docstrings.
Proper deprecation requires use of warnings/debtcollector and
documentation.

Also, fixed places where the deprecated request method was called.

bp deprecations

Change-Id: I0a16933252937ca046793bb6eb2e5cc5da03c9ae
</pre>
</div>
</content>
</entry>
<entry>
<title>Proper deprecation for HTTPClient tenant_id, tenant_name parameters</title>
<updated>2015-08-04T14:56:43+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2015-07-24T20:06:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=1721e01743324fc10630131d590659f565a3684d'/>
<id>1721e01743324fc10630131d590659f565a3684d</id>
<content type='text'>
HTTPClient() tenant_id and tenant_name parameters weren't properly
deprecated since they were only mentioned in the docstring. Proper
deprecation requires use of warnings/debtcollector and documentation.

Also fixed a bunch of places in the tests where tenant_id and
tenant_name were still being used despite being deprecated.

bp deprecations

Change-Id: I9c4f596b8ff10aede6c417886638a942cb18044c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
HTTPClient() tenant_id and tenant_name parameters weren't properly
deprecated since they were only mentioned in the docstring. Proper
deprecation requires use of warnings/debtcollector and documentation.

Also fixed a bunch of places in the tests where tenant_id and
tenant_name were still being used despite being deprecated.

bp deprecations

Change-Id: I9c4f596b8ff10aede6c417886638a942cb18044c
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename requests mock object in testing</title>
<updated>2015-03-17T23:31:06+00:00</updated>
<author>
<name>Jamie Lennox</name>
<email>jamielennox@redhat.com</email>
</author>
<published>2015-03-16T03:58:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=4822d8bb9d86842c6621e4cbf6dfa884c791d07d'/>
<id>4822d8bb9d86842c6621e4cbf6dfa884c791d07d</id>
<content type='text'>
It has been mentioned a number of times that the self.requests naming
for the requests_mock object is confusing between whether you are
actually sending a request or are mocking a request.

Rename all entries of the requests object to requests_mock.

This cleans up a couple of entries where the older register_uri format
was being used in favour of using the HTTP method as the requests_mock
method.

Change-Id: I315085b4088130b510f9dbd696011d983598372c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It has been mentioned a number of times that the self.requests naming
for the requests_mock object is confusing between whether you are
actually sending a request or are mocking a request.

Rename all entries of the requests object to requests_mock.

This cleans up a couple of entries where the older register_uri format
was being used in favour of using the HTTP method as the requests_mock
method.

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