summaryrefslogtreecommitdiff
path: root/tests/model_options
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model_options')
-rw-r--r--tests/model_options/models/tablespaces.py1
-rw-r--r--tests/model_options/test_default_related_name.py2
-rw-r--r--tests/model_options/test_tablespaces.py5
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):