<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-openstackclient.git/openstackclient/tests/common/test_restapi.py, branch 3.10.0</title>
<subtitle>opendev.org: openstack/python-openstackclient
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/'/>
<entry>
<title>Use Keystone client session.Session</title>
<updated>2014-09-08T05:06:52+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2014-08-22T22:26:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=ae957b176e5918f41024c00cbc39ea371a0c37c6'/>
<id>ae957b176e5918f41024c00cbc39ea371a0c37c6</id>
<content type='text'>
This replaces the restapi requests wrapper with the one from Keystone client so
we can take advantage of the auth plugins.

As a first step only the v2 and v3 token and password plugins are supported.
This maintainis no changes to the command options or environment variables.

The next steps will include reworking the other API client interfaces to
fully utilize the single auth session.

Blueprint: ksc-session-auth
Change-Id: I47ec63291e4c3cf36c8061299a4764f60b36ab89
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This replaces the restapi requests wrapper with the one from Keystone client so
we can take advantage of the auth plugins.

As a first step only the v2 and v3 token and password plugins are supported.
This maintainis no changes to the command options or environment variables.

The next steps will include reworking the other API client interfaces to
fully utilize the single auth session.

Blueprint: ksc-session-auth
Change-Id: I47ec63291e4c3cf36c8061299a4764f60b36ab89
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix PEP8 E265 errors</title>
<updated>2014-06-27T14:12:55+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2014-06-26T23:09:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=11f3654f6e29c8d66a0ef550963056b70bc100d3'/>
<id>11f3654f6e29c8d66a0ef550963056b70bc100d3</id>
<content type='text'>
Change-Id: Ieb9a9af1da27d3935d1a4d3cfb61b0ccb03d099a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ieb9a9af1da27d3935d1a4d3cfb61b0ccb03d099a
</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://git.baserock.org/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://git.baserock.org/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>
<entry>
<title>Bring RESTApi closer to ithe imminent keystoneclient.Session</title>
<updated>2013-12-03T20:26:46+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2013-11-25T19:39:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=f2dbe2e43716925f592db831d95fc5783abcecc9'/>
<id>f2dbe2e43716925f592db831d95fc5783abcecc9</id>
<content type='text'>
Prepare to use the (soon to be) common Session from keystoneclient
* Rework RESTApi to eventually be a subclass of keystoneclient.Session

Change-Id: I68e610f8b19a3f6267a93f7bf3de54a228be68aa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prepare to use the (soon to be) common Session from keystoneclient
* Rework RESTApi to eventually be a subclass of keystoneclient.Session

Change-Id: I68e610f8b19a3f6267a93f7bf3de54a228be68aa
</pre>
</div>
</content>
</entry>
<entry>
<title>Create a new base REST API interface</title>
<updated>2013-08-23T17:08:32+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2013-08-13T22:14:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=17f13f7bf4cea80e8e1380fbc8295318de5be383'/>
<id>17f13f7bf4cea80e8e1380fbc8295318de5be383</id>
<content type='text'>
* restapi module provides basic REST API support
  * uses dicts rather than Resource classes
  * JSON serialization/deserialization
  * log requests in 'curl' format
  * basic API boilerplate for create/delete/list/set/show verbs
* ignore H302 due to urllib import

Change-Id: I3cb91e44e631ee19e9f5dea19b6bac5d599d19ce
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* restapi module provides basic REST API support
  * uses dicts rather than Resource classes
  * JSON serialization/deserialization
  * log requests in 'curl' format
  * basic API boilerplate for create/delete/list/set/show verbs
* ignore H302 due to urllib import

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