commit 1ec74b88ac5438c5eba09d64759445574aa97e72
Author: Victor Stinner <email address hidden>
Date: Mon Oct 12 10:35:25 2015 +0200
Fix test_misc for WebOb 1.5
WebOb 1.5 was released at 2015-10-11. With this new version,
webob.exc.WSGIHTTPException() constructor now fails with a KeyError
when the HTTP status code is 0.
test_exceptions_raise() of test_misc tries to instanciate all
exceptions of cinder.exception. The problem is that
ConvertedException uses a default HTTP status code of 0.
Modify the default HTTP status code of ConvertedException to 400 to
fix the unit test. The bug is only in the test,
cinder/api/openstack/wsgi.py copies an existing HTTP code:
Reviewed: https:/ /review. openstack. org/233747 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=1ec74b88ac5 438c5eba09d6475 9445574aa97e72
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 1ec74b88ac5438c 5eba09d64759445 574aa97e72
Author: Victor Stinner <email address hidden>
Date: Mon Oct 12 10:35:25 2015 +0200
Fix test_misc for WebOb 1.5
WebOb 1.5 was released at 2015-10-11. With this new version, exc.WSGIHTTPExc eption( ) constructor now fails with a KeyError
webob.
when the HTTP status code is 0.
test_ exceptions_ raise() of test_misc tries to instanciate all ception uses a default HTTP status code of 0.
exceptions of cinder.exception. The problem is that
ConvertedEx
Modify the default HTTP status code of ConvertedException to 400 to api/openstack/ wsgi.py copies an existing HTTP code:
fix the unit test. The bug is only in the test,
cinder/
Closes-Bug: #1505153 d48da4b0e831b39 0e33243809a 7aa986cb6ff1b3b 5c1101b9ba)
Change-Id: I1aec8038774828
(cherry picked from commit 867fccf833ffc59