  
  
  class TestAcceptedMediaType(TestCase):
      def setUp(self):
          self.renderers = [MockJSONRenderer(), MockHTMLRenderer()]
          self.negotiator = DefaultContentNegotiation()
  
      def select_renderer(self, request):
          return self.negotiator.select_renderer(request, self.renderers)
  
 
</s> remove         ret = renderer.render(self.data, media_type, context)
 </s> add         ret = renderer.render(self.data, accepted_media_type, context)
        self.renderers = [MockJSONRenderer(), MockHTMLRenderer(), MockOpenAPIRenderer()]
  
  
  class TestAcceptedMediaType(TestCase):
      def setUp(self):
        self.renderers = [MockJSONRenderer(), MockHTMLRenderer(), MockOpenAPIRenderer()]
          self.negotiator = DefaultContentNegotiation()
  
      def select_renderer(self, request):
          return self.negotiator.select_renderer(request, self.renderers)
  
keep keep keep keep replace keep keep keep keep keep
 Fix json indent parameter. Closes #4281 (#4313) 
tests/test_negotiation.py