  
      def setUp(self):
          class MockResource(Resource):
              anon_allowed_methods = allowed_methods = ('GET',)
              def get(self, request, auth):
                  return {'a':1, 'b':2, 'c':3}
          self.req = RequestFactory()
          self.MockResource = MockResource
          self.view = MockResource.as_view()
  
 
</s> remove     def post(self, request, auth, content):
 </s> add     def post(self, request): </s> remove     def get(self, request, auth):
 </s> add     def get(self, request): </s> remove             def post(self, request, auth, content, *args, **kwargs):
                #self.uploaded = content.file
                return {'FILE_NAME': content['file'].name,
                        'FILE_CONTENT': content['file'].read()}
 </s> add             def post(self, request, *args, **kwargs):
                return {'FILE_NAME': self.CONTENT['file'].name,
                        'FILE_CONTENT': self.CONTENT['file'].read()} </s> remove     def get(self, request, auth, *args, **kwargs):
 </s> add     def get(self, request, *args, **kwargs): </s> remove     def get(self, request, auth, *args, **kwargs):
 </s> add     def get(self, request, *args, **kwargs):
            def get(self, request):
  
      def setUp(self):
          class MockResource(Resource):
              anon_allowed_methods = allowed_methods = ('GET',)
            def get(self, request):
                  return {'a':1, 'b':2, 'c':3}
          self.req = RequestFactory()
          self.MockResource = MockResource
          self.view = MockResource.as_view()
  
keep keep keep keep replace keep keep keep keep keep
 depercate auth and content arguments to the request handler methods - yea :) 
djangorestframework/tests/accept.py