diff options
| author | Tom Christie | 2012-02-20 09:36:03 +0000 |
|---|---|---|
| committer | Tom Christie | 2012-02-20 09:36:03 +0000 |
| commit | 21fcd3a90631e96e3fa210dd526abab9571ad6e1 (patch) | |
| tree | 89de366aeb125596bf00d811cd8a409246c3c9e4 /djangorestframework/tests | |
| parent | fbf76c87affc88f04bb0d0acaecc6af6442ba921 (diff) | |
| download | django-rest-framework-21fcd3a90631e96e3fa210dd526abab9571ad6e1.tar.bz2 | |
Some cleanup
Diffstat (limited to 'djangorestframework/tests')
| -rw-r--r-- | djangorestframework/tests/mixins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/mixins.py b/djangorestframework/tests/mixins.py index 85c95d61..bf0f29f7 100644 --- a/djangorestframework/tests/mixins.py +++ b/djangorestframework/tests/mixins.py @@ -281,6 +281,6 @@ class TestPagination(TestCase): paginated URLs. So page 1 should contain ?page=2, not ?page=1&page=2 """ request = self.req.get('/paginator/?page=1') response = MockPaginatorView.as_view()(request) - content = json.loads(response.content) + content = json.loads(response.rendered_content) self.assertTrue('page=2' in content['next']) self.assertFalse('page=1' in content['next']) |
