      def select_renderer(self, request):
          return self.negotiator.select_renderer(request, self.renderers)
  
      def test_client_without_accept_use_renderer(self):
          request = factory.get('/')
          accepted_renderer, accepted_media_type = self.select_renderer(request)
          self.assertEquals(accepted_media_type, 'application/json')
  
      def test_client_underspecifies_accept_use_renderer(self):
          request = factory.get('/', HTTP_ACCEPT='*/*')
 
</s> remove         request = factory.get('/', HTTP_ACCEPT='*/*')
 </s> add         request = Request(factory.get('/', HTTP_ACCEPT='*/*')) </s> remove         request = factory.get('/', HTTP_ACCEPT='application/json; indent=8')
 </s> add         request = Request(factory.get('/', HTTP_ACCEPT='application/json; indent=8')) </s> remove             return filter_class(request.GET, queryset=queryset)
 </s> add             return filter_class(request.QUERY_PARAMS, queryset=queryset) </s> remove         params = request and request.GET or {}
 </s> add         params = request and request.QUERY_PARAMS or {} </s> remove         format = format_suffix or request.GET.get(format_query_param)
 </s> add         format = format_suffix or request.QUERY_PARAMS.get(format_query_param)
        request = Request(factory.get('/'))
      def select_renderer(self, request):
          return self.negotiator.select_renderer(request, self.renderers)
  
      def test_client_without_accept_use_renderer(self):
        request = Request(factory.get('/'))
          accepted_renderer, accepted_media_type = self.select_renderer(request)
          self.assertEquals(accepted_media_type, 'application/json')
  
      def test_client_underspecifies_accept_use_renderer(self):
          request = factory.get('/', HTTP_ACCEPT='*/*')
keep keep keep keep replace keep keep keep keep keep
 Use request.QUERY_PARAMS internally

(instead of request.GET) 
rest_framework/tests/negotiation.py