Inconsistency with new requests-mock and requests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keystoneclient |
Fix Released
|
Medium
|
Jamie Lennox | ||
python-novaclient |
Fix Released
|
Low
|
Jamie Lennox |
Bug Description
New version of requests and requests-mock expose a mistake in one of the tests.
body should always be a io object with a .read()
leads to a failure like:
2014-08-31 05:47:38.836 | =======
2014-08-31 05:47:38.836 | FAIL: keystoneclient.
2014-08-31 05:47:38.837 | tags: worker-5
2014-08-31 05:47:38.837 | -------
2014-08-31 05:47:38.837 | pythonlogging:'': {{{Making authentication request to http://
2014-08-31 05:47:38.837 |
2014-08-31 05:47:38.838 | Traceback (most recent call last):
2014-08-31 05:47:38.838 | File "keystoneclient
2014-08-31 05:47:38.838 | auth_url=
2014-08-31 05:47:38.839 | File "keystoneclient
2014-08-31 05:47:38.839 | self.authenticate()
2014-08-31 05:47:38.839 | File "keystoneclient
2014-08-31 05:47:38.839 | return func(*args, **kwargs)
2014-08-31 05:47:38.840 | File "keystoneclient
2014-08-31 05:47:38.840 | resp = self.get_
2014-08-31 05:47:38.840 | File "keystoneclient
2014-08-31 05:47:38.841 | "%s" % e)
description: | updated |
Changed in python-novaclient: | |
importance: | Undecided → Low |
milestone: | none → 2.19.0 |
Changed in python-novaclient: | |
status: | Fix Committed → Fix Released |
Changed in python-keystoneclient: | |
milestone: | none → 0.11.0 |
Changed in python-keystoneclient: | |
importance: | Undecided → Medium |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/118031
Review: https:/