          """
          content = {'a': 1, 'b': [1, 2, 3]}
          content_type = 'application/json'
          response = self.get_response(accept_list=[content_type], content=content)
          response.render()
          self.assertEqual(json.loads(response.content), content)
          self.assertEqual(response['Content-Type'], content_type)
  
  
  DUMMYSTATUS = status.HTTP_200_OK
 
</s> remove         content = json.loads(response.content)
 </s> add         content = response.raw_content </s> remove     def get_response(self, url='', accept_list=[], content=None):
 </s> add     def get_response(self, url='', accept_list=[], content=None, 
                                    renderer_classes=DEFAULT_RENDERERS):
        accept_list = accept_list[0:] </s> remove         return Response(request=request, content=content, renderers=[r() for r in DEFAULT_RENDERERS])
 </s> add         return Response(request=request, content=content, 
                        renderers=[r() for r in renderer_classes])
        response = response.render()
          """
          content = {'a': 1, 'b': [1, 2, 3]}
          content_type = 'application/json'
          response = self.get_response(accept_list=[content_type], content=content)
        response = response.render()
          self.assertEqual(json.loads(response.content), content)
          self.assertEqual(response['Content-Type'], content_type)
  
  
  DUMMYSTATUS = status.HTTP_200_OK
keep keep keep keep replace keep keep keep keep keep
 hack to fix ImmediateResponse rendering 
djangorestframework/tests/response.py