  
  
  class TestResponseRenderContent(TestCase):
      
      def get_response(self, url='', accept_list=[], content=None):
          request = RequestFactory().get(url, HTTP_ACCEPT=','.join(accept_list))
          return Response(request=request, content=content, renderers=[r() for r in DEFAULT_RENDERERS])
  
      def test_render(self):
          """
 
</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]) </s> remove         content = json.loads(response.content)
 </s> add         content = response.raw_content </s> remove         response.render()
 </s> add         response = response.render()
    def get_response(self, url='', accept_list=[], content=None, 
                                    renderer_classes=DEFAULT_RENDERERS):
        accept_list = accept_list[0:]
  
  
  class TestResponseRenderContent(TestCase):
      
    def get_response(self, url='', accept_list=[], content=None, 
                                    renderer_classes=DEFAULT_RENDERERS):
        accept_list = accept_list[0:]
          request = RequestFactory().get(url, HTTP_ACCEPT=','.join(accept_list))
          return Response(request=request, content=content, renderers=[r() for r in DEFAULT_RENDERERS])
  
      def test_render(self):
          """
keep keep keep keep replace keep keep keep keep keep
 hack to fix ImmediateResponse rendering 
djangorestframework/tests/response.py