diff options
Diffstat (limited to 'djangorestframework/tests/files.py')
| -rw-r--r-- | djangorestframework/tests/files.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/djangorestframework/tests/files.py b/djangorestframework/tests/files.py index 3892422c..25aad9b4 100644 --- a/djangorestframework/tests/files.py +++ b/djangorestframework/tests/files.py @@ -1,7 +1,7 @@ from django.test import TestCase from django import forms from djangorestframework.compat import RequestFactory -from djangorestframework.views import BaseView +from djangorestframework.views import View from djangorestframework.resources import FormResource import StringIO @@ -19,7 +19,7 @@ class UploadFilesTests(TestCase): class MockResource(FormResource): form = FileForm - class MockView(BaseView): + class MockView(View): permissions = () resource = MockResource |
