summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorLucas Alvares Gomes <lucasagomes@gmail.com>2015-10-08 17:06:02 +0100
committerRuby Loo <rloo@yahoo-inc.com>2015-10-13 21:53:48 +0000
commitcd84edd2bec0e71d9a7f83c6fe1b9ab9b18fcecf (patch)
tree522b67f287549ee8ab1a308a0f6e3ee6c0c21eb9 /setup.py
parent5a70a3f3c88ad6ca554ef2d72196f40b88e0db3b (diff)
downloadpython-ironicclient-cd84edd2bec0e71d9a7f83c6fe1b9ab9b18fcecf.tar.gz
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 (cherry picked from commit 42d52af3c2238900eb69217bba5dbbcdca63abf0)
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions