diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-08-04 13:22:39 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-08-07 12:00:23 +0200 |
| commit | 02e6b6409b3df1766abdc3d6438b6f339a3163af (patch) | |
| tree | be2934ddfdcd3f22393513aac4615d2d90bcef6e | |
| parent | 127b461b11af985a52fb482f09c7cd7a08832f9d (diff) | |
[py3] Ported django.utils.decorators.
| -rw-r--r-- | tests/regressiontests/utils/decorators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/utils/decorators.py b/tests/regressiontests/utils/decorators.py index 96f4dd4e7a..4d503df026 100644 --- a/tests/regressiontests/utils/decorators.py +++ b/tests/regressiontests/utils/decorators.py @@ -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") |
