aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
diff options
context:
space:
mode:
authorTom Christie2013-01-19 15:25:32 +0000
committerTom Christie2013-01-19 15:25:32 +0000
commita98049c5de9a4ac9e93eac9798e00df9c93caf81 (patch)
tree65361e378203ef004b0f9af2370a1c959d65208f /rest_framework
parent4b61ead53ff3d13e55346e07317612096f704af8 (diff)
downloaddjango-rest-framework-a98049c5de9a4ac9e93eac9798e00df9c93caf81.tar.bz2
Drop unneeded test
Diffstat (limited to 'rest_framework')
-rw-r--r--rest_framework/tests/decorators.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/rest_framework/tests/decorators.py b/rest_framework/tests/decorators.py
index 5e6bce4e..4012188d 100644
--- a/rest_framework/tests/decorators.py
+++ b/rest_framework/tests/decorators.py
@@ -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'])