          request = self.req.get('/groups')
          mixin = ReadModelMixin()
          mixin.resource = GroupResource
  
          self.assertRaises(ErrorResponse, mixin.get, request, id=12345)
  
  
  class TestModelCreation(TestModelsTestCase):
      """Tests on CreateModelMixin"""
  
 
</s> remove     renderers = (RendererA, RendererB)
 </s> add     renderer_classes = (RendererA, RendererB) </s> remove     renderers = (DocumentingHTMLRenderer, )
 </s> add     renderer_classes = (DocumentingHTMLRenderer, ) </s> remove     renderers = (DocumentingHTMLRenderer, JSONRenderer)
 </s> add     renderer_classes = (DocumentingHTMLRenderer, JSONRenderer) </s> remove         renderers = (PRenderer,)
        response = self.get_response(accept_list=accept_list, renderers=renderers)
        self.assertRaises(ErrorResponse, response._determine_renderer)
 </s> add         response = self.get_response(accept_list=accept_list, renderers=(prenderer,))
        self.assertRaises(ImmediateResponse, response._determine_renderer) </s> remove         request = RequestFactory().get(url, HTTP_ACCEPT=','.join(accept_list))
 </s> add         kwargs = {}
        if accept_list is not None:
            kwargs['HTTP_ACCEPT'] = HTTP_ACCEPT=','.join(accept_list)
        request = RequestFactory().get(url, **kwargs)
        self.assertRaises(ImmediateResponse, mixin.get, request, id=12345)
          request = self.req.get('/groups')
          mixin = ReadModelMixin()
          mixin.resource = GroupResource
  
        self.assertRaises(ImmediateResponse, mixin.get, request, id=12345)
  
  
  class TestModelCreation(TestModelsTestCase):
      """Tests on CreateModelMixin"""
  
keep keep keep keep replace keep keep keep keep keep
 cleaned a bit Response/ResponseMixin code, added some documentation + renamed ErrorResponse to ImmediateResponse 
djangorestframework/tests/mixins.py