diff options
author | Tim Graham <timograham@gmail.com> | 2015-01-28 07:35:27 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-02-06 08:16:28 -0500 |
commit | 0ed7d155635da9f79d4dd67e4889087d3673c6da (patch) | |
tree | cf5c59b563f01774f32e20b3af8cb24a387fdc4d /tests/model_options | |
parent | 388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff) | |
download | django-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz |
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/model_options')
-rw-r--r-- | tests/model_options/models/tablespaces.py | 1 | ||||
-rw-r--r-- | tests/model_options/test_default_related_name.py | 2 | ||||
-rw-r--r-- | tests/model_options/test_tablespaces.py | 5 |
3 files changed, 5 insertions, 3 deletions
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): |