mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
Drop unneeded test
This commit is contained in:
parent
4b61ead53f
commit
a98049c5de
|
@ -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'])
|
||||
|
|
Loading…
Reference in New Issue
Block a user