Files
deb-python-eventlet/tests
Samuel Merritt c3ce3eef0b wsgi: better error for chunk read failures
When a client is sending a chunked request body and disconnects
between chunks, wsgi.Input.read() raises a ValueError. That's fine if
you can remember to wrap every single call to read/readline in a
try/except, but it's bad for a higher-level error handler because so
many things raise ValueError.

This adds in a new error class wsgi.ChunkReadError and raises that
instead. It inherits from ValueError so anyone catching ValueError
should continue to work.
2015-08-10 13:49:26 -05:00
..
2014-11-12 09:05:10 +00:00
2014-08-27 10:21:55 +04:00
2014-08-27 10:21:55 +04:00
2014-04-24 18:11:37 +04:00
2014-10-11 01:41:30 +01:00
2014-08-27 10:21:55 +04:00
2014-10-11 01:41:30 +01:00
2014-10-10 08:53:11 +01:00
2014-08-27 10:21:55 +04:00
2014-08-27 10:21:55 +04:00
2014-08-27 10:21:55 +04:00
2014-08-27 10:21:55 +04:00
2014-07-18 02:12:53 +04:00

The tests are intended to be run using Nose.  
http://somethingaboutorange.com/mrl/projects/nose/

To run tests, simply install nose, and then, in the eventlet tree, do:
   $ nosetests

That's it!  Its output is the same as unittest's output.  It tends to emit a lot of tracebacks from various poorly-behaving tests, but they still (generally) pass.