<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-ironicclient.git/ironicclient/tests/unit/test_shell.py, branch stable/liberty</title>
<subtitle>opendev.org: openstack/python-ironicclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/'/>
<entry>
<title>Mock keystone call to avoid test failure</title>
<updated>2015-10-13T21:53:48+00:00</updated>
<author>
<name>Lucas Alvares Gomes</name>
<email>lucasagomes@gmail.com</email>
</author>
<published>2015-10-08T16:06:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=cd84edd2bec0e71d9a7f83c6fe1b9ab9b18fcecf'/>
<id>cd84edd2bec0e71d9a7f83c6fe1b9ab9b18fcecf</id>
<content type='text'>
The test test_password_prompted() was expecting a keystone failure, but
because of an error in the requests/urllib3 library it was returning a
different exception and causing our tests to fail, see[1].

Independent of the the problem above on tests we should not rely on some
external library failing like that, we should mock this failures to make
our tests more reliable and that's what this patch is doing.

[1] https://bugs.launchpad.net/ospurge/+bug/1503768

Change-Id: I3e6091eb2bc221a16fdc18b998ba138058818894
Closes-Bug: #1504197
(cherry picked from commit 42d52af3c2238900eb69217bba5dbbcdca63abf0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test test_password_prompted() was expecting a keystone failure, but
because of an error in the requests/urllib3 library it was returning a
different exception and causing our tests to fail, see[1].

Independent of the the problem above on tests we should not rely on some
external library failing like that, we should mock this failures to make
our tests more reliable and that's what this patch is doing.

[1] https://bugs.launchpad.net/ospurge/+bug/1503768

Change-Id: I3e6091eb2bc221a16fdc18b998ba138058818894
Closes-Bug: #1504197
(cherry picked from commit 42d52af3c2238900eb69217bba5dbbcdca63abf0)
</pre>
</div>
</content>
</entry>
<entry>
<title>Register global Keystone args first</title>
<updated>2015-06-16T18:15:35+00:00</updated>
<author>
<name>Ben Nemec</name>
<email>bnemec@redhat.com</email>
</author>
<published>2015-06-09T22:45:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=e6ae41c537fe8bec300937df5c4392816f60e426'/>
<id>e6ae41c537fe8bec300937df5c4392816f60e426</id>
<content type='text'>
As described in the referenced bug, registering the Keystone args
last causes their default values to be ignored.  Registering them
first seems to prevent the problem.

Change-Id: I8eb7882a0153fedbd6591dde2157df13fa2e5ba3
Closes-Bug: 1463581
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As described in the referenced bug, registering the Keystone args
last causes their default values to be ignored.  Registering them
first seems to prevent the problem.

Change-Id: I8eb7882a0153fedbd6591dde2157df13fa2e5ba3
Closes-Bug: 1463581
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unneeded 'utf-8' coding lines</title>
<updated>2015-04-21T16:44:47+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john.l.villalovos@intel.com</email>
</author>
<published>2015-04-20T18:49:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=2df670cf3045c2c430eaaac6f48919d6d1586afc'/>
<id>2df670cf3045c2c430eaaac6f48919d6d1586afc</id>
<content type='text'>
This is basically a revert of commit:
  af741ec2236619880fa902d68aef4a6ae6cef534

It was decided that only files that need to have the line:
  # -*- coding: utf-8 -*-
Should have the line[1] as a general principle

This patch removes the 'utf-8' coding line from files that consist
entirely of ASCII characters.

[1]
http://eavesdrop.openstack.org/meetings/ironic/2015/ironic.2015-04-20-17.00.html

Partial-bug: #1325193
Change-Id: I88c1c37f7b580aa805eae9d4a1e66d33302a325f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is basically a revert of commit:
  af741ec2236619880fa902d68aef4a6ae6cef534

It was decided that only files that need to have the line:
  # -*- coding: utf-8 -*-
Should have the line[1] as a general principle

This patch removes the 'utf-8' coding line from files that consist
entirely of ASCII characters.

[1]
http://eavesdrop.openstack.org/meetings/ironic/2015/ironic.2015-04-20-17.00.html

Partial-bug: #1325193
Change-Id: I88c1c37f7b580aa805eae9d4a1e66d33302a325f
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the final PEP8 errors</title>
<updated>2015-03-10T21:38:30+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john.l.villalovos@intel.com</email>
</author>
<published>2015-03-10T21:07:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=144e82b163117e95dd14b3fae9d7cc8456c57eb1'/>
<id>144e82b163117e95dd14b3fae9d7cc8456c57eb1</id>
<content type='text'>
Fix PEP8 E126,E127,E128 errors, which were the only ones remaining.

Fix PEP8 errors:
E126: continuation line over-indented for hanging indent
E127: continuation line over-indented for visual indent
E128: continuation line under-indented for visual indent

Remove the ignore= entries for flake8 in tox.ini

Change-Id: I919551121d85d2aab528f4fa5ecdb3cfd940557a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix PEP8 E126,E127,E128 errors, which were the only ones remaining.

Fix PEP8 errors:
E126: continuation line over-indented for hanging indent
E127: continuation line over-indented for visual indent
E128: continuation line under-indented for visual indent

Remove the ignore= entries for flake8 in tox.ini

Change-Id: I919551121d85d2aab528f4fa5ecdb3cfd940557a
</pre>
</div>
</content>
</entry>
<entry>
<title>Adds basic ironicclient functional testing</title>
<updated>2015-03-09T20:45:20+00:00</updated>
<author>
<name>Adam Gandelman</name>
<email>adamg@ubuntu.com</email>
</author>
<published>2015-03-06T01:20:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=d76862b1869ea529da1e149f4e3a00cc5fb9eda6'/>
<id>d76862b1869ea529da1e149f4e3a00cc5fb9eda6</id>
<content type='text'>
This moves unit tests to ironicclient/tests/unit and adds a new test
directory at ironicclient/tests/functional.  These are meant to be
functional tests that are run against a living cloud (presumably deployed
by devstack as part of a gating job).  They depend on a test.conf to exist
that contains admin user credentials for said cloud.  This includes a simple
run_functional.sh script that is meant to create that and serve as the entry
point for running the tests from a devstack post_test_hook.

Change-Id: I11570c3e22e4f80b94d0643dca6ed8231217c877
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This moves unit tests to ironicclient/tests/unit and adds a new test
directory at ironicclient/tests/functional.  These are meant to be
functional tests that are run against a living cloud (presumably deployed
by devstack as part of a gating job).  They depend on a test.conf to exist
that contains admin user credentials for said cloud.  This includes a simple
run_functional.sh script that is meant to create that and serve as the entry
point for running the tests from a devstack post_test_hook.

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