Fix test_apiviews (remove a space)

This commit is contained in:
arthur 2016-05-20 09:20:01 +02:00
parent fdc5563cba
commit 00522b6c9e

View file

@ -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'))