<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-openstackclient.git/openstackclient/tests/common, branch 0.4.0</title>
<subtitle>opendev.org: openstack/python-openstackclient
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/'/>
<entry>
<title>Fix find_resource for keystone and cinder</title>
<updated>2014-06-17T16:24:26+00:00</updated>
<author>
<name>Terry Howe</name>
<email>terrylhowe@gmail.com</email>
</author>
<published>2014-05-22T23:38:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=0b2987fef389603b95b2ba7b788492b8baa56745'/>
<id>0b2987fef389603b95b2ba7b788492b8baa56745</id>
<content type='text'>
The find_resource method had two hacks in in to support cinder
and keystone and I have removed those in favor of a monkey patch
for cinder.

The find_resource method used to attempt to UUID parse the id, but
it would do a manager.get anyway.  I changed it to skip the UUID
parsing.  This will make things run minorly faster and it supports
LDAP for keystone.

The find_resource used to attempt to use display_name=name_or_id
when finding.  This was a hack for cinder support, but it breaks
keystone because keystone totally messes up with the bogus filter
and keystone refuses to fix it.

Change-Id: I66e45a6341f704900f1d5321a0e70eac3d051665
Closes-Bug: #1306699
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The find_resource method had two hacks in in to support cinder
and keystone and I have removed those in favor of a monkey patch
for cinder.

The find_resource method used to attempt to UUID parse the id, but
it would do a manager.get anyway.  I changed it to skip the UUID
parsing.  This will make things run minorly faster and it supports
LDAP for keystone.

The find_resource used to attempt to use display_name=name_or_id
when finding.  This was a hack for cinder support, but it breaks
keystone because keystone totally messes up with the bogus filter
and keystone refuses to fix it.

Change-Id: I66e45a6341f704900f1d5321a0e70eac3d051665
Closes-Bug: #1306699
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Ignore most of the new hacking 0.9.2 rules"</title>
<updated>2014-06-14T18:37:12+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2014-06-14T18:37:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=0da5bfe42875457a26a0c5040fcc3b0e1ffb5d2a'/>
<id>0da5bfe42875457a26a0c5040fcc3b0e1ffb5d2a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore most of the new hacking 0.9.2 rules</title>
<updated>2014-06-13T22:06:28+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2014-06-13T21:56:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=0059f045a9958b1748fcec51799d8cffc0831440'/>
<id>0059f045a9958b1748fcec51799d8cffc0831440</id>
<content type='text'>
So we can update requriements.txt.  But fix a couple of easy ones:
* Fix E251 (1 occurrance)
* Fix E131 (1 occurrance)

Change-Id: I62aaa423aa6da9e9f0ca026ec586b51cc6a6df03
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So we can update requriements.txt.  But fix a couple of easy ones:
* Fix E251 (1 occurrance)
* Fix E131 (1 occurrance)

Change-Id: I62aaa423aa6da9e9f0ca026ec586b51cc6a6df03
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for extension list</title>
<updated>2014-06-11T19:40:30+00:00</updated>
<author>
<name>Matt Fischer</name>
<email>matt@mattfischer.com</email>
</author>
<published>2014-05-13T17:04:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=4ae4dc35bda42a972c1d1480e89cda67bf39636d'/>
<id>4ae4dc35bda42a972c1d1480e89cda67bf39636d</id>
<content type='text'>
 - Add support in the common section for extension list. This only
   supports Identity for now. Once the APIs for volume and compute
   are supported in the respective APIs, they will be added. Once
   network is added to this client, it will be added (the API already
   supports it).
 - Include extension fakes for volume and compute for pre-enablement.

Change-Id: Iebb0156a779887d2ab06488a2a27b70b56369376
Closes-Bug: #1319115
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Add support in the common section for extension list. This only
   supports Identity for now. Once the APIs for volume and compute
   are supported in the respective APIs, they will be added. Once
   network is added to this client, it will be added (the API already
   supports it).
 - Include extension fakes for volume and compute for pre-enablement.

Change-Id: Iebb0156a779887d2ab06488a2a27b70b56369376
Closes-Bug: #1319115
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed several typos throughout the codebase</title>
<updated>2014-05-21T14:47:52+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2014-05-21T14:47:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=a8087a6c8b5946ecf25f019e183b26579c3475a8'/>
<id>a8087a6c8b5946ecf25f019e183b26579c3475a8</id>
<content type='text'>
Change-Id: I048ee857fc1215fea7f60978364894e1b5abdf66
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I048ee857fc1215fea7f60978364894e1b5abdf66
</pre>
</div>
</content>
</entry>
<entry>
<title>Produce a useful error message for NoUniqueMatch</title>
<updated>2014-03-17T23:32:41+00:00</updated>
<author>
<name>Terry Howe</name>
<email>terrylhowe@gmail.com</email>
</author>
<published>2014-03-17T23:32:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=4900c64d091ffe4ec9050cd71845b12db49bd293'/>
<id>4900c64d091ffe4ec9050cd71845b12db49bd293</id>
<content type='text'>
Most of the CLIs use a NoUniqueMatch, so produce a useful
error message if that happens.  Added some tests for
find_resource as well.

Change-Id: I85ba61d5f6d1be5bd336a1cc4b02501492905f33
Closes-Bug: #1293846
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most of the CLIs use a NoUniqueMatch, so produce a useful
error message if that happens.  Added some tests for
find_resource as well.

Change-Id: I85ba61d5f6d1be5bd336a1cc4b02501492905f33
Closes-Bug: #1293846
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add ability to prompt for passwords for user create and set"</title>
<updated>2014-02-22T06:00:18+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2014-02-22T06:00:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=034a9d158f27bb9bd1a7430c09d1826196215093'/>
<id>034a9d158f27bb9bd1a7430c09d1826196215093</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ability to prompt for passwords for user create and set</title>
<updated>2014-02-21T21:42:22+00:00</updated>
<author>
<name>Terry Howe</name>
<email>terrylhowe@gmail.com</email>
</author>
<published>2014-02-20T02:30:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=033f27fe4dc4455c2f07978a273fd65faa653b67'/>
<id>033f27fe4dc4455c2f07978a273fd65faa653b67</id>
<content type='text'>
* Add get_password method to the utilities
* Add --password-prompt option
* Call the get_password method if a prompt is requested
* Various tests

Change-Id: I1786ad531e2a2fbcc21b8bc86aac0ccd7985995a
Closes-Bug: 1100116
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add get_password method to the utilities
* Add --password-prompt option
* Call the get_password method if a prompt is requested
* Various tests

Change-Id: I1786ad531e2a2fbcc21b8bc86aac0ccd7985995a
Closes-Bug: 1100116
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3: the content of a FakeResponse must be bytes</title>
<updated>2014-02-17T23:49:10+00:00</updated>
<author>
<name>Cyril Roelandt</name>
<email>cyril.roelandt@enovance.com</email>
</author>
<published>2014-02-17T23:49:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=5f9e7d09cb0c6efd01816253611092c1bbc51495'/>
<id>5f9e7d09cb0c6efd01816253611092c1bbc51495</id>
<content type='text'>
Encode '_content' if necessary.

Change-Id: I25c1e1cd5330f0519bf062be840045d0ef520b28
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Encode '_content' if necessary.

Change-Id: I25c1e1cd5330f0519bf062be840045d0ef520b28
</pre>
</div>
</content>
</entry>
<entry>
<title>FakeResponse: use a default status code</title>
<updated>2014-02-11T16:31:37+00:00</updated>
<author>
<name>Cyril Roelandt</name>
<email>cyril.roelandt@enovance.com</email>
</author>
<published>2014-02-11T16:31:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=9dc3eb5b18612831cba7f44b592481056635a476'/>
<id>9dc3eb5b18612831cba7f44b592481056635a476</id>
<content type='text'>
When running some tests from test_restapi.py, the following error happens:

    TypeError: unorderable types: NoneType() &lt; int()

In Python 2, comparing NoneType and integers is possible:

    &gt;&gt;&gt; None &lt; 2
    True

But in Python 3, it's not allowed. Fix this by using a default status code.

Change-Id: Ic0fad5c68f3bf2dd8a2b98423549903f982192c9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When running some tests from test_restapi.py, the following error happens:

    TypeError: unorderable types: NoneType() &lt; int()

In Python 2, comparing NoneType and integers is possible:

    &gt;&gt;&gt; None &lt; 2
    True

But in Python 3, it's not allowed. Fix this by using a default status code.

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