def test_default_renderer_serializes_content(self):
        resp = self.client.get('/')
        self.assertEqual(resp['Content-Type'], RendererA.media_type + '; charset=utf-8')
        self.assertEqual(resp.content, RENDERER_A_SERIALIZER(DUMMYCONTENT))
        self.assertEqual(resp.status_code, DUMMYSTATUS)
If the Accept header is not set the default renderer should serialize the response.
dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_response.py/RendererIntegrationTests.test_default_renderer_serializes_content