diff options
| author | Tom Christie | 2011-04-27 18:07:28 +0100 | 
|---|---|---|
| committer | Tom Christie | 2011-04-27 18:07:28 +0100 | 
| commit | 028851bfa1ee44b8e92808b18d32278d4a473cc8 (patch) | |
| tree | 7a9497fef627d83bbc75dbd21294ff813216c828 /djangorestframework/tests | |
| parent | 762a52edde09297e87c640797219c9bb8255d50a (diff) | |
| download | django-rest-framework-028851bfa1ee44b8e92808b18d32278d4a473cc8.tar.bz2 | |
Fix up tests and examples after refactoring
Diffstat (limited to 'djangorestframework/tests')
| -rw-r--r-- | djangorestframework/tests/authentication.py | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/djangorestframework/tests/authentication.py b/djangorestframework/tests/authentication.py index 72300506..f2c249a6 100644 --- a/djangorestframework/tests/authentication.py +++ b/djangorestframework/tests/authentication.py @@ -7,11 +7,13 @@ from django.utils import simplejson as json  from djangorestframework.compat import RequestFactory  from djangorestframework.resource import Resource +from djangorestframework import permissions  import base64  class MockResource(Resource): +    permissions = ( permissions.IsAuthenticated, )      def post(self, request):          return {'a':1, 'b':2, 'c':3}  | 
