diff options
Diffstat (limited to 'djangorestframework/tests/request.py')
| -rw-r--r-- | djangorestframework/tests/request.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/djangorestframework/tests/request.py b/djangorestframework/tests/request.py index 1d74ea32..7ad99c07 100644 --- a/djangorestframework/tests/request.py +++ b/djangorestframework/tests/request.py @@ -15,7 +15,7 @@ from djangorestframework.parsers import ( ) from djangorestframework.request import Request from djangorestframework.response import Response -from djangorestframework.views import View +from djangorestframework.views import APIView factory = RequestFactory() @@ -207,7 +207,7 @@ class TestContentParsing(TestCase): # self.assertEqual(request.DATA.items(), data.items()) -class MockView(View): +class MockView(APIView): authentication = (UserLoggedInAuthentication,) def post(self, request): |
