diff --git a/example/blog/tests/test_apiviews.py b/example/blog/tests/test_apiviews.py index 37ba562..0d4586d 100644 --- a/example/blog/tests/test_apiviews.py +++ b/example/blog/tests/test_apiviews.py @@ -72,7 +72,7 @@ class ListCreateAPIViewTest(APITestCase): response.render() self.assertEqual(response.status_code, 200) - self.assertIn('"__unicode__": "Foo"', force_text(response.content)) + self.assertIn('"__unicode__":"Foo"', force_text(response.content)) def test_pagination(self): request = self.factory.get(reverse('admin2:blog_post_api_list'))