mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 08:59:54 +03:00
Remove unused method
This commit is contained in:
parent
6165688b8e
commit
bb39dc819a
|
@ -22,10 +22,6 @@ class DecoratorTestCase(TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.factory = APIRequestFactory()
|
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):
|
def test_api_view_incorrect(self):
|
||||||
"""
|
"""
|
||||||
If @api_view is not applied correct, we should raise an assertion.
|
If @api_view is not applied correct, we should raise an assertion.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user