Drop unneeded assert

This commit is contained in:
Tom Christie 2013-12-09 07:37:13 +00:00
parent 06d8a31e13
commit 4e9385e709

View File

@ -230,7 +230,6 @@ class RendererEndToEndTests(TestCase):
"""Invalid data should still render the browsable API correctly."""
resp = self.client.post('/parseerror', data='foobar', content_type='application/json', HTTP_ACCEPT='text/html')
self.assertEqual(resp['Content-Type'], 'text/html; charset=utf-8')
self.assertIn('Mock Post', resp.content)
self.assertEqual(resp.status_code, status.HTTP_400_BAD_REQUEST)
_flat_repr = '{"foo": ["bar", "baz"]}'