mirror of
https://github.com/django/django.git
synced 2025-01-11 19:06:26 +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()
|
||||
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")
|
||||
|
Loading…
Reference in New Issue
Block a user