<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-openstackclient.git/openstackclient/tests/common/test_parseractions.py, branch stable/mitaka</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>Add MultiKeyValueAction to custom parser action</title>
<updated>2016-02-26T19:53:32+00:00</updated>
<author>
<name>Tang Chen</name>
<email>chen.tang@easystack.cn</email>
</author>
<published>2016-02-24T06:56:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=ada06f4dc3df39db5e739ebd8d82ccd734a54a93'/>
<id>ada06f4dc3df39db5e739ebd8d82ccd734a54a93</id>
<content type='text'>
Class MultiKeyValueAction will be used to parse arguments like this:

--route destination=xxx,gateway=xxx --route destination=yyy,gateway=yyy

The result is a list like this:

[{destination:xxx, gateway:xxx}, {destination:yyy, gateway:yyy}]

This action also contain validation of the parameters.

Change-Id: Ie3aa8635c6a13fc2e429fe6922acd681dc7244cf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Class MultiKeyValueAction will be used to parse arguments like this:

--route destination=xxx,gateway=xxx --route destination=yyy,gateway=yyy

The result is a list like this:

[{destination:xxx, gateway:xxx}, {destination:yyy, gateway:yyy}]

This action also contain validation of the parameters.

Change-Id: Ie3aa8635c6a13fc2e429fe6922acd681dc7244cf
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor: Initialize parser in setUp() in TestNonNegativeAction</title>
<updated>2015-12-28T12:01:13+00:00</updated>
<author>
<name>Tang Chen</name>
<email>tangchen@cn.fujitsu.com</email>
</author>
<published>2015-12-28T09:34:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=8d718e9d6796b0ff115698a19f330113a80d09ef'/>
<id>8d718e9d6796b0ff115698a19f330113a80d09ef</id>
<content type='text'>
Change-Id: I12846acc4450d31d19897bbdfc6846bde8c8f2ce
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I12846acc4450d31d19897bbdfc6846bde8c8f2ce
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor: Initialize parser in setUp() in TestKeyValueAction</title>
<updated>2015-12-28T09:28:04+00:00</updated>
<author>
<name>Tang Chen</name>
<email>tangchen@cn.fujitsu.com</email>
</author>
<published>2015-12-28T09:28:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=f0a3b175a1a7a8d537f6f8023dd8ff8155375f60'/>
<id>f0a3b175a1a7a8d537f6f8023dd8ff8155375f60</id>
<content type='text'>
No need to initialize parser in each test case. Do it in setUp().
Also remove the test_default_values case because it could be tested
in the test_good_values case.

Change-Id: Ia2ed7c9e46bf6baabbd62b9d50511c5e8103e5e2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No need to initialize parser in each test case. Do it in setUp().
Also remove the test_default_values case because it could be tested
in the test_good_values case.

Change-Id: Ia2ed7c9e46bf6baabbd62b9d50511c5e8103e5e2
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace assertEqual(None, *) with assertIsNone(*)</title>
<updated>2015-12-25T05:14:33+00:00</updated>
<author>
<name>Xi Yang</name>
<email>yang.xi@99cloud.net</email>
</author>
<published>2015-12-25T05:14:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=8210ba7a557a44c322ff3adddcbc98072a978e11'/>
<id>8210ba7a557a44c322ff3adddcbc98072a978e11</id>
<content type='text'>
This patch is going to replace assertEqual(None, *) with
assertIsNone(*) in unit test code to have more clear messages
in case of failure.

Change-Id: I6f85498347e8fc7cad5ea7afb832b9acda7daafc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch is going to replace assertEqual(None, *) with
assertIsNone(*) in unit test code to have more clear messages
in case of failure.

Change-Id: I6f85498347e8fc7cad5ea7afb832b9acda7daafc
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the bug of "openstack console log show"</title>
<updated>2015-11-09T09:22:09+00:00</updated>
<author>
<name>xiexs</name>
<email>xiexs@cn.fujitsu.com</email>
</author>
<published>2015-11-09T09:22:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=ea63553925bce0432958ae4a15536f7f83b1f28d'/>
<id>ea63553925bce0432958ae4a15536f7f83b1f28d</id>
<content type='text'>
The behaviors are inconsistent while different
negative line numbers specified.

Change-Id: I2573f3e789f5603c896758971830ffc0b94c5e2b
Closes-Bug: #1512263
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The behaviors are inconsistent while different
negative line numbers specified.

Change-Id: I2573f3e789f5603c896758971830ffc0b94c5e2b
Closes-Bug: #1512263
</pre>
</div>
</content>
</entry>
<entry>
<title>fix the wrong order of assertEqual args</title>
<updated>2015-01-27T09:02:41+00:00</updated>
<author>
<name>wanghong</name>
<email>w.wanghong@huawei.com</email>
</author>
<published>2015-01-27T09:02:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=127af151ff60d11e7b2f88555678cf18b8828e48'/>
<id>127af151ff60d11e7b2f88555678cf18b8828e48</id>
<content type='text'>
Let's fix them thoroughly.

Change-Id: I8a1f042fb614b05c9836a49041f3883638b870b0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Let's fix them thoroughly.

Change-Id: I8a1f042fb614b05c9836a49041f3883638b870b0
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed several typos throughout the codebase</title>
<updated>2014-05-21T14:47:52+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2014-05-21T14:47:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=a8087a6c8b5946ecf25f019e183b26579c3475a8'/>
<id>a8087a6c8b5946ecf25f019e183b26579c3475a8</id>
<content type='text'>
Change-Id: I048ee857fc1215fea7f60978364894e1b5abdf66
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I048ee857fc1215fea7f60978364894e1b5abdf66
</pre>
</div>
</content>
</entry>
<entry>
<title>Move tests into project package.</title>
<updated>2013-07-01T03:30:54+00:00</updated>
<author>
<name>Monty Taylor</name>
<email>mordred@inaugust.com</email>
</author>
<published>2013-07-01T03:01:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=196daf859b1557fba24dbcf9870d3a834da86916'/>
<id>196daf859b1557fba24dbcf9870d3a834da86916</id>
<content type='text'>
There are several reasons for this. One is that the majority of
OpenStack packages behave this way. The second is that it makes writing
software that extends something easier to test (which is a clear usecase
for openstackclient) And third, tests/__init__.py implies a global
package named "tests" - which I'm pretty sure we're not providing.

Change-Id: Ic708ffd92aea78c2ffc1a8579af0587af4fca4ff
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are several reasons for this. One is that the majority of
OpenStack packages behave this way. The second is that it makes writing
software that extends something easier to test (which is a clear usecase
for openstackclient) And third, tests/__init__.py implies a global
package named "tests" - which I'm pretty sure we're not providing.

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