aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rest_framework/tests/views.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/rest_framework/tests/views.py b/rest_framework/tests/views.py
index b70ef4ae..c0f42a06 100644
--- a/rest_framework/tests/views.py
+++ b/rest_framework/tests/views.py
@@ -1,14 +1,16 @@
from __future__ import unicode_literals
+
+import copy
+
from django.test import TestCase
from django.test.client import RequestFactory
+
from rest_framework import status
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()