  
  class MockJsonRenderer(BaseRenderer):
      media_type = 'application/json'
  
  
  DUMMYSTATUS = status.HTTP_200_OK
  DUMMYCONTENT = 'dummycontent'
  
  RENDERER_A_SERIALIZER = lambda x: ('Renderer A: %s' % x).encode('ascii')
  RENDERER_B_SERIALIZER = lambda x: ('Renderer B: %s' % x).encode('ascii')
 
</s> remove class MockJSONRenderer(object):
 </s> add class MockJSONRenderer(BaseRenderer): </s> remove 
class MockHTMLRenderer(object):
 </s> add class MockHTMLRenderer(BaseRenderer):
class MockTextMediaRenderer(BaseRenderer):
    media_type = 'text/html'
  
  class MockJsonRenderer(BaseRenderer):
      media_type = 'application/json'
  
class MockTextMediaRenderer(BaseRenderer):
    media_type = 'text/html'
  
  DUMMYSTATUS = status.HTTP_200_OK
  DUMMYCONTENT = 'dummycontent'
  
  RENDERER_A_SERIALIZER = lambda x: ('Renderer A: %s' % x).encode('ascii')
  RENDERER_B_SERIALIZER = lambda x: ('Renderer B: %s' % x).encode('ascii')
keep keep keep add keep keep keep keep keep keep
 charset param gets now appended to response's Content-Type. Closes #807 
rest_framework/tests/response.py