aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/files.py
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/tests/files.py')
-rw-r--r--djangorestframework/tests/files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/files.py b/djangorestframework/tests/files.py
index dd4689a6..4dc3aa40 100644
--- a/djangorestframework/tests/files.py
+++ b/djangorestframework/tests/files.py
@@ -16,7 +16,7 @@ class UploadFilesTests(TestCase):
file = forms.FileField
class MockResource(Resource):
- allowed_methods = anon_allowed_methods = ('POST',)
+ permissions = ()
form = FileForm
def post(self, request, *args, **kwargs):