'If both a \'format\' query and a matching Accept header specified,
the renderer with the matching format attribute should serialize the response.'

def test_specified_renderer_is_used_on_format_query_with_matching_accept(self):

    resp = self.client.get((u'/?format=%s' % RendererB.format), HTTP_ACCEPT=RendererB.media_type)
    self.assertEqual(resp[u'Content-Type'], (RendererB.media_type + u';    charset=utf-8'))
    self.assertEqual(resp.content, RENDERER_B_SERIALIZER(DUMMYCONTENT))
    self.assertEqual(resp.status_code, DUMMYSTATUS)
