summaryrefslogtreecommitdiff
path: root/tests/fixtures_regress
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-28 07:35:27 -0500
committerTim Graham <timograham@gmail.com>2015-02-06 08:16:28 -0500
commit0ed7d155635da9f79d4dd67e4889087d3673c6da (patch)
treecf5c59b563f01774f32e20b3af8cb24a387fdc4d /tests/fixtures_regress
parent388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff)
downloaddjango-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/fixtures_regress')
-rw-r--r--tests/fixtures_regress/tests.py33
1 files changed, 17 insertions, 16 deletions
diff --git a/tests/fixtures_regress/tests.py b/tests/fixtures_regress/tests.py
index a91935af8f..63dbe9e72b 100644
--- a/tests/fixtures_regress/tests.py
+++ b/tests/fixtures_regress/tests.py
@@ -7,28 +7,29 @@ import os
import re
import warnings
-from django.core import serializers
+from django.core import management, serializers
from django.core.exceptions import ImproperlyConfigured
-from django.core.serializers.base import DeserializationError
-from django.core import management
from django.core.management.base import CommandError
-from django.db import transaction, IntegrityError
+from django.core.serializers.base import DeserializationError
+from django.db import IntegrityError, transaction
from django.db.models import signals
-from django.test import (TestCase, TransactionTestCase, skipIfDBFeature,
- skipUnlessDBFeature)
-from django.test import override_settings
-from django.utils._os import upath
+from django.test import (
+ TestCase, TransactionTestCase, override_settings, skipIfDBFeature,
+ skipUnlessDBFeature,
+)
from django.utils import six
+from django.utils._os import upath
from django.utils.six import PY3, StringIO
-from .models import (Animal, Stuff, Absolute, Parent, Child, Article, Widget,
- Store, Person, Book, NKChild, RefToNKChild, Circle1, Circle2, Circle3,
- ExternalDependency, Thingy,
- M2MSimpleA, M2MSimpleB, M2MSimpleCircularA, M2MSimpleCircularB,
- M2MComplexA, M2MComplexB, M2MThroughAB, M2MComplexCircular1A,
- M2MComplexCircular1B, M2MComplexCircular1C, M2MCircular1ThroughAB,
- M2MCircular1ThroughBC, M2MCircular1ThroughCA, M2MComplexCircular2A,
- M2MComplexCircular2B, M2MCircular2ThroughAB)
+from .models import (
+ Absolute, Animal, Article, Book, Child, Circle1, Circle2, Circle3,
+ ExternalDependency, M2MCircular1ThroughAB, M2MCircular1ThroughBC,
+ M2MCircular1ThroughCA, M2MCircular2ThroughAB, M2MComplexA, M2MComplexB,
+ M2MComplexCircular1A, M2MComplexCircular1B, M2MComplexCircular1C,
+ M2MComplexCircular2A, M2MComplexCircular2B, M2MSimpleA, M2MSimpleB,
+ M2MSimpleCircularA, M2MSimpleCircularB, M2MThroughAB, NKChild, Parent,
+ Person, RefToNKChild, Store, Stuff, Thingy, Widget,
+)
_cur_dir = os.path.dirname(os.path.abspath(upath(__file__)))