fixed some newlines to keep views.py untouched

This commit is contained in:
Ludwig Kraatz 2012-12-08 12:02:29 +01:00
parent b98bff30f9
commit b572ede48e
2 changed files with 2 additions and 2 deletions

View File

@ -94,4 +94,4 @@ class FunctionBasedViewIntegrationTests(TestCase):
'detail': u'JSON parse error - No JSON object could be decoded' 'detail': u'JSON parse error - No JSON object could be decoded'
} }
self.assertEquals(response.status_code, status.HTTP_400_BAD_REQUEST) 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)

View File

@ -371,4 +371,4 @@ class APIView(View):
We may as well implement this as Django will otherwise provide We may as well implement this as Django will otherwise provide
a less useful default implementation. 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)