Commit e4c25e0f by Xavier Ordoquy

wsgi_request is now added to the response so we have to remove it before pickling the response.

parent 65611781
......@@ -601,6 +601,10 @@ class CacheRenderTest(TestCase):
method = getattr(self.client, http_method)
resp = method(url)
del resp.client, resp.request
try:
del resp.wsgi_request
except AttributeError:
pass
return resp
def test_obj_pickling(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