<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/tests/unit/test_base.py, branch 1.6.0</title>
<subtitle>opendev.org: openstack/python-cinderclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/'/>
<entry>
<title>Provide consistency for Wrapper classes</title>
<updated>2016-02-16T07:41:31+00:00</updated>
<author>
<name>Ankit Agrawal</name>
<email>ankit11.agrawal@nttdata.com</email>
</author>
<published>2016-02-16T06:59:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=b2fc77f731c9cdb02efaa942f140ee7fd134ffac'/>
<id>b2fc77f731c9cdb02efaa942f140ee7fd134ffac</id>
<content type='text'>
Updated TupleWithMeta class to make it consistent with other Meta
classes in order to avoid confusion. Also made provision to call
TupleWithMeta with a tuple containing one or more elements.

For more details on how request_id will be returned to the caller,
please refer to the approved blueprint [1] discussed with the
cross-project team.
[1] http://specs.openstack.org/openstack/openstack-specs/specs/return-request-id.html

Change-Id: I5a79a4ed8cb4dc83ea3b64499df191750462100d
Partial-Implements: blueprint return-request-id-to-caller
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated TupleWithMeta class to make it consistent with other Meta
classes in order to avoid confusion. Also made provision to call
TupleWithMeta with a tuple containing one or more elements.

For more details on how request_id will be returned to the caller,
please refer to the approved blueprint [1] discussed with the
cross-project team.
[1] http://specs.openstack.org/openstack/openstack-specs/specs/return-request-id.html

Change-Id: I5a79a4ed8cb4dc83ea3b64499df191750462100d
Partial-Implements: blueprint return-request-id-to-caller
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Wrapper classes for list, dict, tuple</title>
<updated>2016-01-25T06:53:27+00:00</updated>
<author>
<name>Ankit Agrawal</name>
<email>ankit11.agrawal@nttdata.com</email>
</author>
<published>2015-12-02T08:51:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=1619f11b9c191d44303977fd1b07fea28da9bc7c'/>
<id>1619f11b9c191d44303977fd1b07fea28da9bc7c</id>
<content type='text'>
Added wrapper classes which are inherited from base data types list,
tuple and dict. Each of these wrapper classes contains a 'request_ids'
attribute which will be populated with a 'x-openstack-request_id'
received in a header from a response body.

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

Partial-Implements: blueprint return-request-id-to-caller
Change-Id: I3aadb4d8bf675e20f2094b66a23ac20f455a99eb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added wrapper classes which are inherited from base data types list,
tuple and dict. Each of these wrapper classes contains a 'request_ids'
attribute which will be populated with a 'x-openstack-request_id'
received in a header from a response body.

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

Partial-Implements: blueprint return-request-id-to-caller
Change-Id: I3aadb4d8bf675e20f2094b66a23ac20f455a99eb
</pre>
</div>
</content>
</entry>
<entry>
<title>Add to_dict method to Resource class</title>
<updated>2015-12-14T08:27:21+00:00</updated>
<author>
<name>wanghao</name>
<email>wanghao749@huawei.com</email>
</author>
<published>2015-07-30T08:55:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=bb0f48489874d63206317ad79e9f2f7b48ca9172'/>
<id>bb0f48489874d63206317ad79e9f2f7b48ca9172</id>
<content type='text'>
Many clients have to_dict method in Resource class.
It is needed to get full info about resource.
So it would be nice to add to_dict method in
cinder client too.

Now openstack/common has graduated from oslo-incubator.
So we just modify it cinderclient.

Changes merged with this patch:
---------------------
apiclient/base.py
  ---add to_dict function in class Resource.
unit/test_base.py
  ---add unit test case.

change-Id: I81add424bcdd667ba271adb7d5b1ceb504120f93
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many clients have to_dict method in Resource class.
It is needed to get full info about resource.
So it would be nice to add to_dict method in
cinder client too.

Now openstack/common has graduated from oslo-incubator.
So we just modify it cinderclient.

Changes merged with this patch:
---------------------
apiclient/base.py
  ---add to_dict function in class Resource.
unit/test_base.py
  ---add unit test case.

change-Id: I81add424bcdd667ba271adb7d5b1ceb504120f93
</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://git.baserock.org/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>
