  
  class MockJSONRenderer(object):
      media_type = 'application/json'
  
  
  class MockHTMLRenderer(object):
      media_type = 'text/html'
  
  
  class TestAcceptedMediaType(TestCase):
      def setUp(self):
 
</s> remove class MockJSONRenderer(object):
 </s> add class MockJSONRenderer(BaseRenderer):
class MockHTMLRenderer(BaseRenderer):
  
  class MockJSONRenderer(object):
      media_type = 'application/json'
  
class MockHTMLRenderer(BaseRenderer):
class MockHTMLRenderer(BaseRenderer):
      media_type = 'text/html'
  
  
  class TestAcceptedMediaType(TestCase):
      def setUp(self):
keep keep keep keep replace replace keep keep keep keep keep
 charset param gets now appended to response's Content-Type. Closes #807 
rest_framework/tests/negotiation.py