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/model_options/models/tablespaces.py | 1 + tests/model_options/test_default_related_name.py | 2 +- tests/model_options/test_tablespaces.py | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/model_options') diff --git a/tests/model_options/models/tablespaces.py b/tests/model_options/models/tablespaces.py index 56e22e973a..7328a3df6e 100644 --- a/tests/model_options/models/tablespaces.py +++ b/tests/model_options/models/tablespaces.py @@ -1,5 +1,6 @@ from django.db import models + # Since the test database doesn't have tablespaces, it's impossible for Django # to create the tables for models where db_tablespace is set. To avoid this # problem, we mark the models as unmanaged, and temporarily revert them to diff --git a/tests/model_options/test_default_related_name.py b/tests/model_options/test_default_related_name.py index 6cdffe5cf9..a30de192cb 100644 --- a/tests/model_options/test_default_related_name.py +++ b/tests/model_options/test_default_related_name.py @@ -1,6 +1,6 @@ from django.test import TestCase -from .models.default_related_name import Author, Editor, Book +from .models.default_related_name import Author, Book, Editor class DefaultRelatedNameTests(TestCase): diff --git a/tests/model_options/test_tablespaces.py b/tests/model_options/test_tablespaces.py index 515cd8a032..e8372e1bc7 100644 --- a/tests/model_options/test_tablespaces.py +++ b/tests/model_options/test_tablespaces.py @@ -5,8 +5,9 @@ from django.conf import settings from django.db import connection from django.test import TestCase, skipIfDBFeature, skipUnlessDBFeature -from .models.tablespaces import (Article, ArticleRef, Authors, Reviewers, - Scientist, ScientistRef) +from .models.tablespaces import ( + Article, ArticleRef, Authors, Reviewers, Scientist, ScientistRef, +) def sql_for_table(model): -- cgit v1.3