      url(r'^api', include('djangorestframework.urls', namespace='djangorestframework'))
  )
  
  
  class RendererIntegrationTests(TestCase):
      """
      End-to-end testing of renderers using an RendererMixin on a generic view.
      """
  
      urls = 'djangorestframework.tests.renderers'
 
</s> remove         return 'text'
 </s> add         return Response('text') </s> remove         return {'foo': ['bar', 'baz']}
 </s> add         return Response({'foo': ['bar', 'baz']}) </s> remove         return self.render(response)
 </s> add         return response </s> remove         return 'text'
 </s> add         return Response('text')
class RendererEndToEndTests(TestCase):
      url(r'^api', include('djangorestframework.urls', namespace='djangorestframework'))
  )
  
  
class RendererEndToEndTests(TestCase):
      """
      End-to-end testing of renderers using an RendererMixin on a generic view.
      """
  
      urls = 'djangorestframework.tests.renderers'
keep keep keep keep replace keep keep keep keep keep
 Fix renderer tests.

- All MockViews return Response objects
- Only one urlpatterns attribute in the module
- Renamed `RendererIntegrationTests` to `RendererEndToEndTests`, as the former wasn't being run locally (but it was on Travis...dunno). 
djangorestframework/tests/renderers.py