Commit f64cb621 authored by Denis Bilenko's avatar Denis Bilenko

wsgi_test.py: fix bug in read_http that caused it to silent errors

parent 68843a9f
......@@ -156,6 +156,7 @@ class Response(object):
self.body = fd.read()
except:
print 'Response.read failed to read the body:\n%s' % self
raise
if body is not None:
self.assertBody(body)
return self
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment