[py3] Ported django.utils.decorators.

This commit is contained in:
Aymeric Augustin 2012-08-04 13:22:39 +02:00
parent 127b461b11
commit 02e6b6409b
1 changed files with 1 additions and 1 deletions

View File

@ -105,4 +105,4 @@ class DecoratorFromMiddlewareTests(TestCase):
response.render()
self.assertTrue(getattr(request, 'process_response_reached', False))
# Check that process_response saw the rendered content
self.assertEqual(request.process_response_content, "Hello world")
self.assertEqual(request.process_response_content, b"Hello world")