<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-openstackclient.git/openstackclient/tests/volume/v2/test_volume.py, branch 3.2.1</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>Fix errors in volume set/unset image properties unit tests</title>
<updated>2016-08-11T03:43:03+00:00</updated>
<author>
<name>Huanxuan Ao</name>
<email>huanxuan.ao@easystack.cn</email>
</author>
<published>2016-08-11T03:38:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=95f0e3dc366a94d7e47c5dc4178253c25b1aaa08'/>
<id>95f0e3dc366a94d7e47c5dc4178253c25b1aaa08</id>
<content type='text'>
These errors may caused by copy-paste, we should specify
a fake return value for get() method but not create() method.
Create() mothod will not called in set/unset command. After
specifing the return value of get(), we can use the fake volume
in the assert.

Change-Id: I1e0df4c28ece373168788c396e9082d565e36cc7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These errors may caused by copy-paste, we should specify
a fake return value for get() method but not create() method.
Create() mothod will not called in set/unset command. After
specifing the return value of get(), we can use the fake volume
in the assert.

Change-Id: I1e0df4c28ece373168788c396e9082d565e36cc7
</pre>
</div>
</content>
</entry>
<entry>
<title>Support multi REST API calls error handling for "volume set" command</title>
<updated>2016-08-06T01:15:21+00:00</updated>
<author>
<name>Huanxuan Ao</name>
<email>huanxuan.ao@easystack.cn</email>
</author>
<published>2016-08-05T10:54:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=3202fefc654bc32fd7e02b12b76a4ea55f7f53c0'/>
<id>3202fefc654bc32fd7e02b12b76a4ea55f7f53c0</id>
<content type='text'>
Support the error handling follow the rule in
doc/source/command-errors.rst
Also add a unit test for testing the error handling

Change-Id: I98064f4b8c1dc17eb3874f7b25c827a568463c0f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support the error handling follow the rule in
doc/source/command-errors.rst
Also add a unit test for testing the error handling

Change-Id: I98064f4b8c1dc17eb3874f7b25c827a568463c0f
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support of setting volume's state</title>
<updated>2016-08-03T04:19:16+00:00</updated>
<author>
<name>Xi Yang</name>
<email>yang.xi@99cloud.net</email>
</author>
<published>2016-01-18T07:47:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=20ae54045cef136a8d0665aab0d45698e12ed21c'/>
<id>20ae54045cef136a8d0665aab0d45698e12ed21c</id>
<content type='text'>
OSC does not support to set volume's state, this
patch is going to add this functionality.

Closes-Bug:#1535213
Change-Id: I5bc1c7e81b8ba61c37f4bfd209fc86c5857fb050
Co-Authored-By: Huanxuan Ao &lt;huanxuan.ao@easystack.cn&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OSC does not support to set volume's state, this
patch is going to add this functionality.

Closes-Bug:#1535213
Change-Id: I5bc1c7e81b8ba61c37f4bfd209fc86c5857fb050
Co-Authored-By: Huanxuan Ao &lt;huanxuan.ao@easystack.cn&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for deleting volumes with associated snapshots</title>
<updated>2016-07-27T03:30:52+00:00</updated>
<author>
<name>wuyuting</name>
<email>wytdahu@gmail.com</email>
</author>
<published>2016-06-06T02:55:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=954c28dfa21be76b0522af051d71fb9470877a1a'/>
<id>954c28dfa21be76b0522af051d71fb9470877a1a</id>
<content type='text'>
OSC doesn't support deleting volumes with associated snapshots.
This patch provides support for deleting volumes with associated
snapshots by adding an optional argument.

Change-Id: I7e74f251574993ff13a38e508fd2f9debeda8d0a
Closes-Bug: #1589332
Co-Authored-By: Rui Chen &lt;chenrui.momo@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OSC doesn't support deleting volumes with associated snapshots.
This patch provides support for deleting volumes with associated
snapshots by adding an optional argument.

Change-Id: I7e74f251574993ff13a38e508fd2f9debeda8d0a
Closes-Bug: #1589332
Co-Authored-By: Rui Chen &lt;chenrui.momo@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use identity fake classes instead of old unit tests data</title>
<updated>2016-07-26T10:38:12+00:00</updated>
<author>
<name>Huanxuan Ao</name>
<email>huanxuan.ao@easystack.cn</email>
</author>
<published>2016-07-15T11:02:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=1b2ea91420e297d51e66b985b8fb04c45059bd85'/>
<id>1b2ea91420e297d51e66b985b8fb04c45059bd85</id>
<content type='text'>
Use FakeProject, FakeDomain and FakeUser classes instead
of old test data in image, compute and volume. (This work
has done in network)

Change-Id: Ic37d5d9db98f0f2acc6c714a9646063dcbde4ff3
Partially-Implements: blueprint use-fake-project
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use FakeProject, FakeDomain and FakeUser classes instead
of old test data in image, compute and volume. (This work
has done in network)

Change-Id: Ic37d5d9db98f0f2acc6c714a9646063dcbde4ff3
Partially-Implements: blueprint use-fake-project
</pre>
</div>
</content>
</entry>
<entry>
<title>Support error handling for delete commands in volumev2</title>
<updated>2016-07-14T09:49:26+00:00</updated>
<author>
<name>Huanxuan Ao</name>
<email>huanxuan.ao@easystack.cn</email>
</author>
<published>2016-07-12T07:53:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=9b51127ecc85e9814b6256180ef612c857156559'/>
<id>9b51127ecc85e9814b6256180ef612c857156559</id>
<content type='text'>
Some delete conmmands in volumev2 did not support
error handling, this patch add them and also add
the unit tests for bulk deletion

Change-Id: I56ade6f9c7396c78fb989547476c4d94ccd76eae
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some delete conmmands in volumev2 did not support
error handling, this patch add them and also add
the unit tests for bulk deletion

Change-Id: I56ade6f9c7396c78fb989547476c4d94ccd76eae
</pre>
</div>
</content>
</entry>
<entry>
<title>osc-lib: utils</title>
<updated>2016-06-13T15:50:44+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2016-05-13T21:14:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=e5e29a8fef7ba2396015918545a49e717fe75d15'/>
<id>e5e29a8fef7ba2396015918545a49e717fe75d15</id>
<content type='text'>
Use osc-lib directly for utils.

Leave openstackclient.common.utils for deprecation period.

Change-Id: I5bd9579abc4e07f45219ccd0565626e6667472f7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use osc-lib directly for utils.

Leave openstackclient.common.utils for deprecation period.

Change-Id: I5bd9579abc4e07f45219ccd0565626e6667472f7
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unit test for volume commands in volumev2</title>
<updated>2016-05-31T09:36:02+00:00</updated>
<author>
<name>Huanxuan Ao</name>
<email>huanxuan.ao@easystack.cn</email>
</author>
<published>2016-05-31T08:46:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=677dfaa925cacb6f4d3482b5a71feace442b078d'/>
<id>677dfaa925cacb6f4d3482b5a71feace442b078d</id>
<content type='text'>
There are some issues in test_volume.py in volumev2,
I make three changes in this patch:

1.modified some codes that not used FakeVolume class.
2.added a fake image by FakeImage class for this test.
3.added a fake snapshot by FakeSnapshot class for this test.

Change-Id: I02ba73d3aaee95624b0e2307b255e0e485b0c3a3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are some issues in test_volume.py in volumev2,
I make three changes in this patch:

1.modified some codes that not used FakeVolume class.
2.added a fake image by FakeImage class for this test.
3.added a fake snapshot by FakeSnapshot class for this test.

Change-Id: I02ba73d3aaee95624b0e2307b255e0e485b0c3a3
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor TestVolumeShow with FakeVolume</title>
<updated>2016-05-17T12:14:18+00:00</updated>
<author>
<name>ting.wang</name>
<email>ting.wang@easystack.cn</email>
</author>
<published>2016-05-12T02:13:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=0fa2e8df92986bf7cbbba131042c1d3196b54365'/>
<id>0fa2e8df92986bf7cbbba131042c1d3196b54365</id>
<content type='text'>
In the meantime, add some static methods in FakeVolume for ease of use
and add info() method with "property" decorator in FakeResource to allow
those static methods to get fake information.

Change-Id: I98ad520f32afd529fda77a4592f645130282537f
Co-Authored-By: xiexs &lt;xiexs@cn.fujitsu.com&gt;
Implements: blueprint improve-volume-unittest-framework
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the meantime, add some static methods in FakeVolume for ease of use
and add info() method with "property" decorator in FakeResource to allow
those static methods to get fake information.

Change-Id: I98ad520f32afd529fda77a4592f645130282537f
Co-Authored-By: xiexs &lt;xiexs@cn.fujitsu.com&gt;
Implements: blueprint improve-volume-unittest-framework
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor TestVolumeList with FakeVolume</title>
<updated>2016-05-11T09:25:48+00:00</updated>
<author>
<name>ting.wang</name>
<email>ting.wang@easystack.cn</email>
</author>
<published>2016-05-11T08:37:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=553e154960c6a9da8481c4602c0a7a0d1147d2ad'/>
<id>553e154960c6a9da8481c4602c0a7a0d1147d2ad</id>
<content type='text'>
Change-Id: Idbe7ee1d9688ea5937852cce1a746016bf98fa74
Co-Authored-By: xiexs &lt;xiexs@cn.fujitsu.com&gt;
Implements: blueprint improve-volume-unittest-framework
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Idbe7ee1d9688ea5937852cce1a746016bf98fa74
Co-Authored-By: xiexs &lt;xiexs@cn.fujitsu.com&gt;
Implements: blueprint improve-volume-unittest-framework
</pre>
</div>
</content>
</entry>
</feed>
