      PlainTextParser, JSONParser
  from djangorestframework.response import Response
  from djangorestframework.request import Request
  from djangorestframework.views import View
  from djangorestframework.request import request_class_factory
  
  class MockView(View):
      authentication = (UserLoggedInAuthentication,)
      def post(self, request):
          if request.POST.get('example') is not None:
              return Response(status=status.HTTP_200_OK)
  
          return Response(status=status.INTERNAL_SERVER_ERROR)
  
  urlpatterns = patterns('',
      (r'^$', MockView.as_view()),
  )
  
  request_class = request_class_factory(RequestFactory().get('/'))
  
  
  class RequestTestCase(TestCase):
  
      def tearDown(self):
 
</s> remove from djangorestframework.request import request_class_factory
 </s> add from djangorestframework.request import Request </s> remove     def get_request(self):
 </s> add     def prepare_request(self, request): </s> remove     def tearDown(self):
        request_class.parsers = ()

 </s> add 
      PlainTextParser, JSONParser
  from djangorestframework.response import Response
  from djangorestframework.request import Request
  from djangorestframework.views import View















  
  
  class RequestTestCase(TestCase):
  
      def tearDown(self):
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 cleaned Request/Response/mixins to have similar interface 
djangorestframework/tests/request.py