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/validation | |
parent | 388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff) | |
download | django-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz |
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/validation')
-rw-r--r-- | tests/validation/test_unique.py | 7 | ||||
-rw-r--r-- | tests/validation/tests.py | 6 |
2 files changed, 8 insertions, 5 deletions
diff --git a/tests/validation/test_unique.py b/tests/validation/test_unique.py index 76c7ec174f..2abe85c82c 100644 --- a/tests/validation/test_unique.py +++ b/tests/validation/test_unique.py @@ -8,9 +8,10 @@ from django.core.exceptions import ValidationError from django.db import models from django.test import TestCase -from .models import (CustomPKModel, UniqueTogetherModel, UniqueFieldsModel, - UniqueForDateModel, ModelToValidate, Post, FlexibleDatePost, - UniqueErrorsModel) +from .models import ( + CustomPKModel, FlexibleDatePost, ModelToValidate, Post, UniqueErrorsModel, + UniqueFieldsModel, UniqueForDateModel, UniqueTogetherModel, +) class GetUniqueCheckTests(unittest.TestCase): diff --git a/tests/validation/tests.py b/tests/validation/tests.py index 2a7549a461..defd66edec 100644 --- a/tests/validation/tests.py +++ b/tests/validation/tests.py @@ -5,8 +5,10 @@ from django.core.exceptions import NON_FIELD_ERRORS from django.test import TestCase from . import ValidationTestCase -from .models import (Author, Article, ModelToValidate, - GenericIPAddressTestModel, GenericIPAddrUnpackUniqueTest) +from .models import ( + Article, Author, GenericIPAddressTestModel, GenericIPAddrUnpackUniqueTest, + ModelToValidate, +) class BaseModelValidationTests(ValidationTestCase): |