<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/tests/unit/utils.py, branch stable/train</title>
<subtitle>opendev.org: openstack/python-cinderclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/'/>
<entry>
<title>Tests: Don't write bash-completion cache files</title>
<updated>2019-02-26T19:33:51+00:00</updated>
<author>
<name>Eric Harney</name>
<email>eharney@redhat.com</email>
</author>
<published>2019-02-26T19:13:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=a39805c6f45baf94c0d14da3ae775ee204a267ee'/>
<id>a39805c6f45baf94c0d14da3ae775ee204a267ee</id>
<content type='text'>
Mock out writing of bash-completion cache files
during unit tests.

Related-Bug: #1817782

Change-Id: I944862c30fb4684dd034eba6953e9302d2d22439
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mock out writing of bash-completion cache files
during unit tests.

Related-Bug: #1817782

Change-Id: I944862c30fb4684dd034eba6953e9302d2d22439
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to keystoneauth</title>
<updated>2016-07-22T21:35:40+00:00</updated>
<author>
<name>Steve Martinelli</name>
<email>stevemar@ca.ibm.com</email>
</author>
<published>2016-03-09T12:57:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=16f83c4a531853e1432a47135a8af566b9bb890d'/>
<id>16f83c4a531853e1432a47135a8af566b9bb890d</id>
<content type='text'>
move cinderclient to keystoneauth as keystoneclient's auth session,
plugins and adapter code has been deprecated.

Co-Authored-By: Paulo Ewerton &lt;pauloewerton@lsd.ufcg.edu.br&gt;
Co-Authored-By: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
Co-Authored-By: Jamie Lennox &lt;jamielennox@gmail.com&gt;

Change-Id: Id4bf0e2088e8ad99e83cd4f9b8549c2aca1f65a2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
move cinderclient to keystoneauth as keystoneclient's auth session,
plugins and adapter code has been deprecated.

Co-Authored-By: Paulo Ewerton &lt;pauloewerton@lsd.ufcg.edu.br&gt;
Co-Authored-By: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
Co-Authored-By: Jamie Lennox &lt;jamielennox@gmail.com&gt;

Change-Id: Id4bf0e2088e8ad99e83cd4f9b8549c2aca1f65a2
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix batch deleting issue in volume_type.unset_keys()</title>
<updated>2016-07-06T07:15:35+00:00</updated>
<author>
<name>Rui Chen</name>
<email>chenrui.momo@gmail.com</email>
</author>
<published>2016-06-29T03:24:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=bc5ddf1e6a1e396c3d8a29b42369f48b0b5f2302'/>
<id>bc5ddf1e6a1e396c3d8a29b42369f48b0b5f2302</id>
<content type='text'>
cinderclient volume_type.unset_keys() only delete the first key even if
multiple keys are applied. The response of manager._delete() is tuple object,
it is not "None" if the deleting success, so the batch operation would
be broken when the first key is deleted successfully. The patch fix this
issue.

Change-Id: I60378a32cdc52aacdf869d69b246dec7eb6cdb77
Closes-Bug: #1596511
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cinderclient volume_type.unset_keys() only delete the first key even if
multiple keys are applied. The response of manager._delete() is tuple object,
it is not "None" if the deleting success, so the batch operation would
be broken when the first key is deleted successfully. The patch fix this
issue.

Change-Id: I60378a32cdc52aacdf869d69b246dec7eb6cdb77
Closes-Bug: #1596511
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix argument order for assertEqual to (expected, observed)"</title>
<updated>2016-06-14T15:39:48+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-06-14T15:39:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=835747d40fb64bbf78bb331cda0ecf5cdd16de84'/>
<id>835747d40fb64bbf78bb331cda0ecf5cdd16de84</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix argument order for assertEqual to (expected, observed)</title>
<updated>2016-06-14T08:27:32+00:00</updated>
<author>
<name>reedip</name>
<email>reedip.banerjee@nectechnologies.in</email>
</author>
<published>2016-01-06T03:21:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=ea2693b9d9aa65af603814c5eb44414839216bd5'/>
<id>ea2693b9d9aa65af603814c5eb44414839216bd5</id>
<content type='text'>
assertEqual expects that the arguments provided to it should be
(expected, observed). If a particluar order is kept as a convention,
then it helps to provide a cleaner message to the developer if Unit
Tests fail. The following patch fixes this issue.

TrivialFix

Change-Id: I817a654733e0f3886ca85778a49aa579592f60ff
Closes-Bug: #1259292
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
assertEqual expects that the arguments provided to it should be
(expected, observed). If a particluar order is kept as a convention,
then it helps to provide a cleaner message to the developer if Unit
Tests fail. The following patch fixes this issue.

TrivialFix

Change-Id: I817a654733e0f3886ca85778a49aa579592f60ff
Closes-Bug: #1259292
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix upload_to_image method</title>
<updated>2016-05-20T19:55:55+00:00</updated>
<author>
<name>Ivan Kolodyazhny</name>
<email>e0ne@e0ne.info</email>
</author>
<published>2016-05-20T19:20:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=9e19357e4beff1131492888b7f2766afb227a767'/>
<id>9e19357e4beff1131492888b7f2766afb227a767</id>
<content type='text'>
Commit Ie639179c5bbbaca4de62b42b368830afcfd8f7ac introduced 'visibility'
and 'protected' params. These params should be used only with
v3.1 microversion. Also these changes break current v2 users.

This patch fixes these issues.

Closes-Bug: #1584056
Change-Id: I0574631791c475bbefdb6e7d1647a20d0759df64
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit Ie639179c5bbbaca4de62b42b368830afcfd8f7ac introduced 'visibility'
and 'protected' params. These params should be used only with
v3.1 microversion. Also these changes break current v2 users.

This patch fixes these issues.

Closes-Bug: #1584056
Change-Id: I0574631791c475bbefdb6e7d1647a20d0759df64
</pre>
</div>
</content>
</entry>
<entry>
<title>Return wrapper classes with request_ids attribute</title>
<updated>2016-01-29T07:19:57+00:00</updated>
<author>
<name>Ankit Agrawal</name>
<email>ankit11.agrawal@nttdata.com</email>
</author>
<published>2015-12-14T07:25:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=ef151618e1f3b9ce8cb82ca7b1c6266e6cb3a53e'/>
<id>ef151618e1f3b9ce8cb82ca7b1c6266e6cb3a53e</id>
<content type='text'>
Return appropriate wrapper classes with request_ids attribute from
base class.

Note:
In cinderclient/base.py-&gt;_update method will return None for
qos_specs-&gt;unset_keys method and for all other cases it returns body
of type dict. At few places, wherever the _update method is called,
it converts the return value back to the resource class and in all
other cases the same return value is returned back to the caller.
It's not possible to return request_ids with None so for all cases
object of DictWithMeta will be returned from this method. Second
approach would be to return (resp, body) tuple from _update method
and wherever this method is called, return the appropriate object.
These changes will affect v1 version and since v1 is already
deprecated the above approach sounds logical.

This change is required to return 'request_id' from client to log
request_id mappings of cross projects.

Change-Id: If73c47ae2c99dea2a0b1f25771f081bb4bbc26f1
Partial-Implements: blueprint return-request-id-to-caller
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Return appropriate wrapper classes with request_ids attribute from
base class.

Note:
In cinderclient/base.py-&gt;_update method will return None for
qos_specs-&gt;unset_keys method and for all other cases it returns body
of type dict. At few places, wherever the _update method is called,
it converts the return value back to the resource class and in all
other cases the same return value is returned back to the caller.
It's not possible to return request_ids with None so for all cases
object of DictWithMeta will be returned from this method. Second
approach would be to return (resp, body) tuple from _update method
and wherever this method is called, return the appropriate object.
These changes will affect v1 version and since v1 is already
deprecated the above approach sounds logical.

This change is required to return 'request_id' from client to log
request_id mappings of cross projects.

Change-Id: If73c47ae2c99dea2a0b1f25771f081bb4bbc26f1
Partial-Implements: blueprint return-request-id-to-caller
</pre>
</div>
</content>
</entry>
<entry>
<title>Move unit tests into test directory</title>
<updated>2015-03-24T03:20:10+00:00</updated>
<author>
<name>John Griffith</name>
<email>john.griffith@solidfire.com</email>
</author>
<published>2015-03-06T16:55:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=e5a13047918402ab0373181e25bb842d33c4ad50'/>
<id>e5a13047918402ab0373181e25bb842d33c4ad50</id>
<content type='text'>
This is the first step of moving functional testing
into the project tree.  This change just moves
all of the unit tests to be under a dedicated tests/unit
directory.

Follow up patches will add the functional directory and
start moving tempest CLI tests there.

Change-Id: I9dc0b8f761676c1b3bbdeb03e2f44b35f75c693e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the first step of moving functional testing
into the project tree.  This change just moves
all of the unit tests to be under a dedicated tests/unit
directory.

Follow up patches will add the functional directory and
start moving tempest CLI tests there.

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