aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_testing.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_testing.py')
-rw-r--r--tests/test_testing.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_testing.py b/tests/test_testing.py
index 6fce8464..87d2b61f 100644
--- a/tests/test_testing.py
+++ b/tests/test_testing.py
@@ -1,15 +1,13 @@
-# -- coding: utf-8 --
-
+# encoding: utf-8
from __future__ import unicode_literals
from django.conf.urls import patterns, url
-from io import BytesIO
-
from django.contrib.auth.models import User
from django.shortcuts import redirect
from django.test import TestCase
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework.test import APIClient, APIRequestFactory, force_authenticate
+from io import BytesIO
@api_view(['GET', 'POST'])