diff options
| author | Nikolaus Schlemm | 2013-05-19 15:12:01 +0200 |
|---|---|---|
| committer | Nikolaus Schlemm | 2013-05-19 15:12:01 +0200 |
| commit | 31893cff745b8cb62c3cc98b7103af2860eca319 (patch) | |
| tree | 8aa4f4b2af09f7d471a3b65fb49bf2a89da1431f /rest_framework/tests/views.py | |
| parent | 88c94f372049058a7a982745e8b772bd057abe99 (diff) | |
| download | django-rest-framework-31893cff745b8cb62c3cc98b7103af2860eca319.tar.bz2 | |
* make test assertion more explicit
* cleanup
Diffstat (limited to 'rest_framework/tests/views.py')
| -rw-r--r-- | rest_framework/tests/views.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/rest_framework/tests/views.py b/rest_framework/tests/views.py index b70ef4ae..994cf6dc 100644 --- a/rest_framework/tests/views.py +++ b/rest_framework/tests/views.py @@ -6,8 +6,6 @@ from rest_framework.decorators import api_view from rest_framework.response import Response from rest_framework.settings import api_settings from rest_framework.views import APIView -from rest_framework import exceptions -from rest_framework import serializers import copy factory = RequestFactory() @@ -100,4 +98,3 @@ class FunctionBasedViewIntegrationTests(TestCase): } self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST) self.assertEqual(sanitise_json_error(response.data), expected) - |
