deb-ceilometer/test-requirements.txt
Chris Dent b9f8ef3079 Use a FakeRequest object to test middleware
swift was being imported to provide a blank Request
object but very little of the functionality in that
object was being used. FakeRequest provides the
bare minimum funcionality required:

* REQUEST_METHOD
* PATH_INFO
* wsgi.input based on cStringIO
* custom header manipulation

Other functionality from swift has either been
duplicated or replaced:

* InputProxy (which counts bytes of request bodies)
  has been duplicated.
* logging uses common log functionality
* path_split does straight string splits for the desired results

Note that these changes do nothing to change functionality nor
anything to address the performance concerns being evaluated
and discussed elsewhere.

Closes bug: 1285388

Change-Id: If0fbb8f00765ac915e5b426a3661492f4b4df9f4
2014-08-14 12:51:28 +01:00

23 lines
422 B
Plaintext

# Hacking already pins down pep8, pyflakes and flake8
hacking>=0.9.2,<0.10
Babel>=1.3
coverage>=3.6
discover
fixtures>=0.3.14
httplib2>=0.7.5
mock>=1.0
mox>=0.5.3
MySQL-python
# Docs Requirements
oslosphinx
oslotest
pymongo>=2.5
python-subunit>=0.0.18
sphinx>=1.1.2,!=1.2.0,<1.3
sphinxcontrib-docbookrestapi
sphinxcontrib-httpdomain
sphinxcontrib-pecanwsme>=0.8
testrepository>=0.0.18
testscenarios>=0.4
testtools>=0.9.34