<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-glanceclient.git/tests/test_utils.py, branch 0.17.3</title>
<subtitle>opendev.org: openstack/python-glanceclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/'/>
<entry>
<title>Unify using six.moves.range rename everywhere</title>
<updated>2015-02-25T12:17:24+00:00</updated>
<author>
<name>Erno Kuvaja</name>
<email>jokke@hp.com</email>
</author>
<published>2015-02-25T12:17:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=2d67dfa97a7f3cdedf9e2eb80178fac6160bc811'/>
<id>2d67dfa97a7f3cdedf9e2eb80178fac6160bc811</id>
<content type='text'>
Mainly to improve consistency, use range() from six.moves
renames across glance.

Behaves consistently like py2 xrange() and py3 range().

Change-Id: I7c573a3a9775f454b98d25f2a14f8e9f5f4ac432
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mainly to improve consistency, use range() from six.moves
renames across glance.

Behaves consistently like py2 xrange() and py3 range().

Change-Id: I7c573a3a9775f454b98d25f2a14f8e9f5f4ac432
</pre>
</div>
</content>
</entry>
<entry>
<title>Support schema types with non-str value</title>
<updated>2014-12-10T12:23:36+00:00</updated>
<author>
<name>Flavio Percoco</name>
<email>flaper87@gmail.com</email>
</author>
<published>2014-12-10T09:47:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=3989cd202de5d122da011be4f3bb9cede2fe8d45'/>
<id>3989cd202de5d122da011be4f3bb9cede2fe8d45</id>
<content type='text'>
Change I75da1e9309e0f7ef8839dea3ec9c99c58edc5d63 introduced some
properties' types which are not string. This broke the `schema_args`
utility since lists are not hashable and there was no support for such
type values.

This patch fixes this issue with a very glance specific strategy in
which this values are assumed to have a `null` type and another type -
string, integer, etc. The fix ignores `null` options and it takes the
first non-null type as the valid one.

The patch adds support for enum types that accept `None`

Closes-bug: #1401032
Change-Id: I250e8912aca262a56c54ac59bb24f917e5d8cfce
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change I75da1e9309e0f7ef8839dea3ec9c99c58edc5d63 introduced some
properties' types which are not string. This broke the `schema_args`
utility since lists are not hashable and there was no support for such
type values.

This patch fixes this issue with a very glance specific strategy in
which this values are assumed to have a `null` type and another type -
string, integer, etc. The fix ignores `null` options and it takes the
first non-null type as the valid one.

The patch adds support for enum types that accept `None`

Closes-bug: #1401032
Change-Id: I250e8912aca262a56c54ac59bb24f917e5d8cfce
</pre>
</div>
</content>
</entry>
<entry>
<title>Finalize Python3 support</title>
<updated>2014-05-20T14:42:10+00:00</updated>
<author>
<name>Frederic Lepied</name>
<email>frederic.lepied@enovance.com</email>
</author>
<published>2014-04-26T21:34:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=628c541a693ce39a524191250f93c967aef0dba5'/>
<id>628c541a693ce39a524191250f93c967aef0dba5</id>
<content type='text'>
Set the environment variable PYTHONHASHSEED to 0 to have
predictive tests under Python 3.

Change-Id: Ia15a9383e0f20bd0e4572e9f9b9772f1704dff86
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set the environment variable PYTHONHASHSEED to 0 to have
predictive tests under Python 3.

Change-Id: Ia15a9383e0f20bd0e4572e9f9b9772f1704dff86
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the parameter order of assertEqual in glanceclient test</title>
<updated>2014-02-25T07:18:19+00:00</updated>
<author>
<name>Eiichi Aikawa</name>
<email>aikawa@mxk.nes.nec.co.jp</email>
</author>
<published>2014-02-24T09:47:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=3576b1bdcb83f6164ec5e6d59714930d1e1f1c30'/>
<id>3576b1bdcb83f6164ec5e6d59714930d1e1f1c30</id>
<content type='text'>
On assertEqual, the order of parameters should be (expected, observed).
But, some part of glanceclient test were written with invalid order.
This patch fixes this problem.

Change-Id: I7722fdce766ce3cc5bc9944dc72d7d0af0b09f69
Partially-bug: #1277104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On assertEqual, the order of parameters should be (expected, observed).
But, some part of glanceclient test were written with invalid order.
This patch fixes this problem.

Change-Id: I7722fdce766ce3cc5bc9944dc72d7d0af0b09f69
Partially-bug: #1277104
</pre>
</div>
</content>
</entry>
<entry>
<title>Python3: use six.StringIO rather than StringIO.StringIO</title>
<updated>2014-01-10T16:25:45+00:00</updated>
<author>
<name>Yassine Lamgarchal</name>
<email>yassine.lamgarchal@enovance.com</email>
</author>
<published>2014-01-10T16:25:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=ae579aae093065222b0fb797a80e45fba978f995'/>
<id>ae579aae093065222b0fb797a80e45fba978f995</id>
<content type='text'>
It’s an alias for StringIO.StringIO in Python 2 and
io.StringIO in Python 3.

Change-Id: I5316eaffa2d9d2d5679b85a901933ef0fbfcc2f7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It’s an alias for StringIO.StringIO in Python 2 and
io.StringIO in Python 3.

Change-Id: I5316eaffa2d9d2d5679b85a901933ef0fbfcc2f7
</pre>
</div>
</content>
</entry>
<entry>
<title>Get better format for long lines with PrettyTable</title>
<updated>2014-01-06T12:48:54+00:00</updated>
<author>
<name>Fei Long Wang</name>
<email>flwang@cn.ibm.com</email>
</author>
<published>2013-11-15T08:02:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=336feeb5236d549cde44053dfe1a3693e22cd111'/>
<id>336feeb5236d549cde44053dfe1a3693e22cd111</id>
<content type='text'>
Based on current implement, the cli output format will be bad if
the lines are too long. This issue can be fixed by setting 'max_width'.
However, there is a bug against it, see
https://code.google.com/p/prettytable/source/browse/trunk/CHANGELOG?r=85
line 3. So the requirements.txt is updated as well.

docImpact
Fixes bug 1251283

Change-Id: I0d4192ad9d10a3d6d47a8319463a5edb57719a68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on current implement, the cli output format will be bad if
the lines are too long. This issue can be fixed by setting 'max_width'.
However, there is a bug against it, see
https://code.google.com/p/prettytable/source/browse/trunk/CHANGELOG?r=85
line 3. So the requirements.txt is updated as well.

docImpact
Fixes bug 1251283

Change-Id: I0d4192ad9d10a3d6d47a8319463a5edb57719a68
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix and enable gating on H306</title>
<updated>2013-12-16T14:28:05+00:00</updated>
<author>
<name>Dirk Mueller</name>
<email>dirk@dmllr.de</email>
</author>
<published>2013-12-16T14:28:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=9f255a9b495e12d4c7fb78b3f8d8e2159d540f68'/>
<id>9f255a9b495e12d4c7fb78b3f8d8e2159d540f68</id>
<content type='text'>
H306 - module imports should be in alphabetical order

Change-Id: I1f8fc25b0e6ca23c21c90bda420f42a45141c2e2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
H306 - module imports should be in alphabetical order

Change-Id: I1f8fc25b0e6ca23c21c90bda420f42a45141c2e2
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace OpenStack LLC with OpenStack Foundation</title>
<updated>2013-09-19T20:05:51+00:00</updated>
<author>
<name>ZhiQiang Fan</name>
<email>aji.zqfan@gmail.com</email>
</author>
<published>2013-09-19T20:05:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=25172039759ab1013ccf00a2c1bec93db76a23ff'/>
<id>25172039759ab1013ccf00a2c1bec93db76a23ff</id>
<content type='text'>
Change-Id: I38dcbcf1a6c8efe540fcf5f29e782cb3826e583d
Fixes-Bug: #1214176
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I38dcbcf1a6c8efe540fcf5f29e782cb3826e583d
Fixes-Bug: #1214176
</pre>
</div>
</content>
</entry>
<entry>
<title>Show a pretty progressbar when uploading and downloading an image.</title>
<updated>2013-08-08T13:40:15+00:00</updated>
<author>
<name>mouad benchchaoui</name>
<email>m.benchchaoui@cloudbau.de</email>
</author>
<published>2013-07-08T19:18:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=1d7da740b22945c43a9f36affca3c1b3fbad91fa'/>
<id>1d7da740b22945c43a9f36affca3c1b3fbad91fa</id>
<content type='text'>
Add a new module that contain generic wrapper for file and iterator, which
are used to wrap image to upload and the request body iterator in upload and
download cases repectively, to show and advance a pretty progress bar when this
laters are consumed, The progress bar is triggered by adding a --progress command
line argument to commands: image-create, image-download or image-update.

Change-Id: I2ba42fd0c58f4fa087adb568ec3f08246cae3759
bug fix: LP#1112309
blueprint: progressbar-when-uploading
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new module that contain generic wrapper for file and iterator, which
are used to wrap image to upload and the request body iterator in upload and
download cases repectively, to show and advance a pretty progress bar when this
laters are consumed, The progress bar is triggered by adding a --progress command
line argument to commands: image-create, image-download or image-update.

Change-Id: I2ba42fd0c58f4fa087adb568ec3f08246cae3759
bug fix: LP#1112309
blueprint: progressbar-when-uploading
</pre>
</div>
</content>
</entry>
<entry>
<title>Encode error messages before sending them to stdout</title>
<updated>2013-07-29T07:30:44+00:00</updated>
<author>
<name>Flaper Fesp</name>
<email>flaper87@gmail.com</email>
</author>
<published>2013-07-11T13:28:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=fd0e1175795ac3a5497dcf72ed250077abaf2ed1'/>
<id>fd0e1175795ac3a5497dcf72ed250077abaf2ed1</id>
<content type='text'>
When an error with non-ascii characters is caught by glanceclient, it
fails at printing it and exists with a UnicodeEncodedError. This patch
encodes errors' messages using strutils before sending them to stdout.

Fixes bug: #1200206

Change-Id: I4dabcd76ffb258840bd6a66ad23c030f34960e86
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an error with non-ascii characters is caught by glanceclient, it
fails at printing it and exists with a UnicodeEncodedError. This patch
encodes errors' messages using strutils before sending them to stdout.

Fixes bug: #1200206

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