From 9bcf73d788866bc93f8248cb2e9d601ecbc4b50c Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 1 Feb 2018 09:29:46 +0100 Subject: Fixed imports per isort 4.3.0. --- tests/admin_views/test_actions.py | 3 +-- tests/contenttypes_tests/test_views.py | 3 +-- tests/db_functions/tests.py | 1 - tests/forms_tests/field_tests/test_charfield.py | 3 +-- tests/messages_tests/urls.py | 1 - tests/modeladmin/tests.py | 3 +-- tests/template_tests/syntax_tests/test_multiline.py | 1 - tests/urlpatterns_reverse/tests.py | 7 ++++--- tests/utils_tests/test_datetime_safe.py | 3 +-- 9 files changed, 9 insertions(+), 16 deletions(-) (limited to 'tests') diff --git a/tests/admin_views/test_actions.py b/tests/admin_views/test_actions.py index b77714b32d..44bff49ec2 100644 --- a/tests/admin_views/test_actions.py +++ b/tests/admin_views/test_actions.py @@ -12,8 +12,7 @@ from django.urls import reverse from .admin import SubscriberAdmin from .forms import MediaActionForm from .models import ( - Actor, Answer, ExternalSubscriber, Question, Subscriber, - UnchangeableObject, + Actor, Answer, ExternalSubscriber, Question, Subscriber, UnchangeableObject, ) diff --git a/tests/contenttypes_tests/test_views.py b/tests/contenttypes_tests/test_views.py index cdfa1e0961..93ef40b4c2 100644 --- a/tests/contenttypes_tests/test_views.py +++ b/tests/contenttypes_tests/test_views.py @@ -8,8 +8,7 @@ from django.test import TestCase, override_settings from django.test.utils import isolate_apps from .models import ( - Article, Author, ModelWithNullFKToSite, SchemeIncludedURL, - Site as MockSite, + Article, Author, ModelWithNullFKToSite, SchemeIncludedURL, Site as MockSite, ) diff --git a/tests/db_functions/tests.py b/tests/db_functions/tests.py index 70d4d802cd..28fd21d6fd 100644 --- a/tests/db_functions/tests.py +++ b/tests/db_functions/tests.py @@ -14,7 +14,6 @@ from django.utils import timezone from .models import Article, Author, DecimalModel, Fan - lorem_ipsum = """ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.""" diff --git a/tests/forms_tests/field_tests/test_charfield.py b/tests/forms_tests/field_tests/test_charfield.py index cbacf4d0d7..e9819268eb 100644 --- a/tests/forms_tests/field_tests/test_charfield.py +++ b/tests/forms_tests/field_tests/test_charfield.py @@ -1,6 +1,5 @@ from django.forms import ( - CharField, HiddenInput, PasswordInput, Textarea, TextInput, - ValidationError, + CharField, HiddenInput, PasswordInput, Textarea, TextInput, ValidationError, ) from django.test import SimpleTestCase diff --git a/tests/messages_tests/urls.py b/tests/messages_tests/urls.py index 4005ffac6b..d9a8a59b91 100644 --- a/tests/messages_tests/urls.py +++ b/tests/messages_tests/urls.py @@ -9,7 +9,6 @@ from django.urls import reverse from django.views.decorators.cache import never_cache from django.views.generic.edit import FormView - TEMPLATE = """{% if messages %}