mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-23 22:49:50 +03:00
fixed some newlines to keep views.py untouched
This commit is contained in:
parent
b98bff30f9
commit
b572ede48e
|
@ -94,4 +94,4 @@ class FunctionBasedViewIntegrationTests(TestCase):
|
|||
'detail': u'JSON parse error - No JSON object could be decoded'
|
||||
}
|
||||
self.assertEquals(response.status_code, status.HTTP_400_BAD_REQUEST)
|
||||
self.assertEquals(sanitise_json_error(response.data), expected)
|
||||
self.assertEquals(sanitise_json_error(response.data), expected)
|
||||
|
|
|
@ -371,4 +371,4 @@ class APIView(View):
|
|||
We may as well implement this as Django will otherwise provide
|
||||
a less useful default implementation.
|
||||
"""
|
||||
return Response(self.metadata(request), status=status.HTTP_200_OK)
|
||||
return Response(self.metadata(request), status=status.HTTP_200_OK)
|
||||
|
|
Loading…
Reference in New Issue
Block a user