From 0ed7d155635da9f79d4dd67e4889087d3673c6da Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 28 Jan 2015 07:35:27 -0500 Subject: Sorted imports with isort; refs #23860. --- tests/admin_scripts/tests.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tests/admin_scripts/tests.py') diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index c7603e3914..319bd47407 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -1,11 +1,10 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals - """ A series of tests to establish that the command-line management tools work as -advertised - especially with regards to the handling of the DJANGO_SETTINGS_MODULE -and default settings.py files. +advertised - especially with regards to the handling of the +DJANGO_SETTINGS_MODULE and default settings.py files. """ +from __future__ import unicode_literals import codecs import os @@ -19,13 +18,14 @@ import unittest import django from django import conf, get_version from django.conf import settings -from django.core.management import BaseCommand, CommandError, call_command, color -from django.utils.encoding import force_text -from django.utils._os import npath, upath -from django.utils.six import StringIO +from django.core.management import ( + BaseCommand, CommandError, call_command, color, +) from django.test import LiveServerTestCase, TestCase, mock, override_settings from django.test.runner import DiscoverRunner - +from django.utils._os import npath, upath +from django.utils.encoding import force_text +from django.utils.six import StringIO test_dir = os.path.realpath(os.path.join(os.environ['DJANGO_TEST_TEMP_DIR'], 'test_project')) if not os.path.exists(test_dir): -- cgit v1.3