<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/tests/functional/test_volume_extend_cli.py, branch 4.0.2</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>Fix failing functional test cases</title>
<updated>2018-06-13T10:28:46+00:00</updated>
<author>
<name>Pooja Jadhav</name>
<email>pooja.jadhav@nttdata.com</email>
</author>
<published>2018-06-13T10:17:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=5bd8f7150593e167bb7170a521f57e229e15b520'/>
<id>5bd8f7150593e167bb7170a521f57e229e15b520</id>
<content type='text'>
After applying schema validation to volume actions
APIs[1], error messages are formatted as per the
standards. So the tests are failing because of error
messages.

This patch fixes failed functional tests by correcting
error messages.

[1]https://review.openstack.org/#/c/559042/

Change-Id: Id05bf637d77ab401fc0aec5be09eee423bf1a223
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After applying schema validation to volume actions
APIs[1], error messages are formatted as per the
standards. So the tests are failing because of error
messages.

This patch fixes failed functional tests by correcting
error messages.

[1]https://review.openstack.org/#/c/559042/

Change-Id: Id05bf637d77ab401fc0aec5be09eee423bf1a223
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable H306</title>
<updated>2017-08-01T20:23:49+00:00</updated>
<author>
<name>Eric Harney</name>
<email>eharney@redhat.com</email>
</author>
<published>2017-08-01T19:16:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=60d00b0a035f5d6e0c436dee50719238cdf119cc'/>
<id>60d00b0a035f5d6e0c436dee50719238cdf119cc</id>
<content type='text'>
Enforce ordering of imports with H306.

For tests, this is mostly done by grouping test
imports after other cinderclient imports.

Change-Id: Ie40fda014d1aedb057e5b4ea1f27f999c84e6373
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enforce ordering of imports with H306.

For tests, this is mostly done by grouping test
imports after other cinderclient imports.

Change-Id: Ie40fda014d1aedb057e5b4ea1f27f999c84e6373
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix PY2/PY3 specific error in testcases</title>
<updated>2017-06-15T00:51:11+00:00</updated>
<author>
<name>TommyLike</name>
<email>tommylikehu@gmail.com</email>
</author>
<published>2017-06-12T11:49:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=1a5910cbd822e9b1779aba2c69d4ed7ca449ed88'/>
<id>1a5910cbd822e9b1779aba2c69d4ed7ca449ed88</id>
<content type='text'>
The behaviour of PY3's standard lib 'argparse'
differs from PY2's.

```
cinder extend 2
usage: cinder extend &lt;volume&gt; &lt;new_size&gt;
error: too few arguments
Try 'cinder help extend' for more information.

cinder extend 3
usage: cinder extend &lt;volume&gt; &lt;new_size&gt;
error: the following arguments are required: &lt;new_size&gt;
Try 'cinder help extend' for more information.

```
This could lead to the partly failure of functional testcase,
fix it.

Change-Id: I59e9ae149af0b4294b09a94a52a4bc86a1d90f2b
Closes-Bug: #1697428
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The behaviour of PY3's standard lib 'argparse'
differs from PY2's.

```
cinder extend 2
usage: cinder extend &lt;volume&gt; &lt;new_size&gt;
error: too few arguments
Try 'cinder help extend' for more information.

cinder extend 3
usage: cinder extend &lt;volume&gt; &lt;new_size&gt;
error: the following arguments are required: &lt;new_size&gt;
Try 'cinder help extend' for more information.

```
This could lead to the partly failure of functional testcase,
fix it.

Change-Id: I59e9ae149af0b4294b09a94a52a4bc86a1d90f2b
Closes-Bug: #1697428
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Negative tests for cinder volume extend command</title>
<updated>2016-07-15T16:08:07+00:00</updated>
<author>
<name>Sergii Turivnyi</name>
<email>sturivnyi@mirantis.com</email>
</author>
<published>2016-07-15T16:08:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=8835ceb9a1940ab41226f64ceb37e9200ef912d4'/>
<id>8835ceb9a1940ab41226f64ceb37e9200ef912d4</id>
<content type='text'>
Negative tests for the cinder CLI commands which check actions with
volume extend command like extend volume without arguments or with
incorrect arguments and check that correct error message raised.

Change-Id: Ic7c846fa2d8e7c867ed575d922b4a7e935120705
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Negative tests for the cinder CLI commands which check actions with
volume extend command like extend volume without arguments or with
incorrect arguments and check that correct error message raised.

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