Remove unused method

This commit is contained in:
Ryan P Kilby 2020-04-28 17:44:31 -07:00
parent 6165688b8e
commit bb39dc819a

View File

@ -22,10 +22,6 @@ class DecoratorTestCase(TestCase):
def setUp(self):
self.factory = APIRequestFactory()
def _finalize_response(self, request, response, *args, **kwargs):
response.request = request
return APIView.finalize_response(self, request, response, *args, **kwargs)
def test_api_view_incorrect(self):
"""
If @api_view is not applied correct, we should raise an assertion.