python-ironicclient/ironicclient
Lucas Alvares Gomes 42d52af3c2 Mock keystone call to avoid test failure
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
2015-10-08 17:10:47 +01:00
..
common Replace six.iteritems() with .items() 2015-09-28 18:20:00 +00:00
openstack Sync oslo.incubator 2015-05-07 08:35:20 +02:00
osc Replace six.iteritems() with .items() 2015-09-28 18:20:00 +00:00
tests Mock keystone call to avoid test failure 2015-10-08 17:10:47 +01:00
v1 Merge "Replace six.iteritems() with .items()" 2015-10-01 03:08:47 +00:00
__init__.py Remove unneeded 'utf-8' coding lines 2015-04-21 16:44:47 +00:00
client.py Remove unneeded 'utf-8' coding lines 2015-04-21 16:44:47 +00:00
exc.py Revert fix that issues Unauthorized exception 2015-05-11 20:39:17 +00:00
shell.py Cleanup session creation 2015-06-18 10:05:14 +08:00