Manila is broken is threee places, so fix them:
1) test 'test_misc' with 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 instantiate all
exceptions of manila.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 tests.
2) Add dependency for 'testresources' that is required by migration
tests.
3) Remove 2 unit tests related to testing of oslo.policy lib
functionality that should not be tested in Manila. It started failing
because under-the-hood behaviour was changed in new realese 0.12.0
Reviewed: https:/ /review. openstack. org/233685 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=9c99814ce59 43bd4c33bf3650b 832666e31b3411
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9c99814ce5943bd 4c33bf3650b8326 66e31b3411
Author: Gaurang Tapase <email address hidden>
Date: Mon Oct 12 20:47:19 2015 +0530
Fix usage of dependencies
Manila is broken is threee places, so fix them:
1) test 'test_misc' with 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 instantiate all ception uses a default HTTP status code of 0.
exceptions of manila.exception. The problem is that
ConvertedEx
Modify the default HTTP status code of ConvertedException to 400 to
fix the unit tests.
2) Add dependency for 'testresources' that is required by migration
tests.
3) Remove 2 unit tests related to testing of oslo.policy lib
functionality that should not be tested in Manila. It started failing
because under-the-hood behaviour was changed in new realese 0.12.0
Closes-Bug: #1505153
Closes-Bug: #1505374
Change-Id: I0f28f3c3fb2c7e ec1bafc3a617344 990f86810cf