def test_specified_renderer_is_used_on_format_query_with_matching_accept(self):
        resp = self.client.get('/?format=%s' % RendererB.format,
                               HTTP_ACCEPT=RendererB.media_type)
        self.assertEqual(resp['Content-Type'], RendererB.media_type + '; charset=utf-8')
        self.assertEqual(resp.content, RENDERER_B_SERIALIZER(DUMMYCONTENT))
        self.assertEqual(resp.status_code, DUMMYSTATUS)
If both a 'format' query and a matching Accept header specified,
dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_response.py/RendererIntegrationTests.test_specified_renderer_is_used_on_format_query_with_matching_accept