From 00522b6c9e3e23ed2e6792c5397f41918ce032b2 Mon Sep 17 00:00:00 2001 From: arthur Date: Fri, 20 May 2016 09:20:01 +0200 Subject: [PATCH] Fix test_apiviews (remove a space) --- example/blog/tests/test_apiviews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'))