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:
parent
127b461b11
commit
02e6b6409b
@ -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")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user