1
0
mirror of https://github.com/django/django.git synced 2025-01-26 02:00:08 +00:00

[py3] Ported django.utils.decorators.

This commit is contained in:
Aymeric Augustin 2012-08-04 13:22:39 +02:00
parent 127b461b11
commit 02e6b6409b

View File

@ -105,4 +105,4 @@ class DecoratorFromMiddlewareTests(TestCase):
response.render() response.render()
self.assertTrue(getattr(request, 'process_response_reached', False)) self.assertTrue(getattr(request, 'process_response_reached', False))
# Check that process_response saw the rendered content # 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")