deb-manila/test-requirements.txt
Gaurang Tapase 9c99814ce5 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,
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

Closes-Bug: #1505153
Closes-Bug: #1505374

Change-Id: I0f28f3c3fb2c7eec1bafc3a617344990f86810cf
2015-10-13 13:50:21 +03:00

23 lines
593 B
Plaintext

# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# hacking should be first
hacking<0.10,>=0.9.2
bashate>=0.2 # Apache-2.0
coverage>=3.6
ddt>=0.7.0
fixtures>=1.3.1
mock>=1.2
PyMySQL>=0.6.2 # MIT License
oslotest>=1.10.0 # Apache-2.0
oslosphinx>=2.5.0 # Apache-2.0
psycopg2>=2.5
python-subunit>=0.0.18
requests-mock>=0.6.0 # Apache-2.0
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
testrepository>=0.0.18
testresources>=0.2.4
testtools>=1.4.0