  from djangorestframework.compat import RequestFactory
  from djangorestframework.resource import Resource
  
  import base64
  
  
  class MockResource(Resource):
 
</s> remove     allowed_methods = anon_allowed_methods = ('GET',)
 </s> add  </s> remove     allowed_methods = anon_allowed_methods = ('GET',)
 </s> add  </s> remove     def get(self, request, auth, unique_id):
 </s> add     def get(self, request, unique_id): </s> remove     permissions = ( permissions.DeleteMePermission, )
 </s> add     permissions = ()
from djangorestframework import permissions
  from djangorestframework.compat import RequestFactory
  from djangorestframework.resource import Resource
from djangorestframework import permissions
  
  import base64
  
  
  class MockResource(Resource):
keep add keep keep keep keep keep
 Fix up tests and examples after refactoring 
djangorestframework/tests/authentication.py