Commit a98049c5 by Tom Christie

Drop unneeded test

parent 4b61ead5
......@@ -28,14 +28,6 @@ class DecoratorTestCase(TestCase):
response.request = request
return APIView.finalize_response(self, request, response, *args, **kwargs)
def test_wrap_view(self):
@api_view(['GET'])
def view(request):
return Response({})
self.assertTrue(isinstance(view.cls_instance, APIView))
def test_calling_method(self):
@api_view(['GET'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment