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_fields/tests.py | |
| parent | 388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff) | |
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/model_fields/tests.py')
| -rw-r--r-- | tests/model_fields/tests.py | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/model_fields/tests.py b/tests/model_fields/tests.py index 5c8c8109d1..8894ef9158 100644 --- a/tests/model_fields/tests.py +++ b/tests/model_fields/tests.py @@ -1,22 +1,21 @@ from __future__ import unicode_literals import datetime -from decimal import Decimal import unittest +from decimal import Decimal -from django import test -from django import forms -from django.core import validators -from django.core import checks +from django import forms, test +from django.core import checks, validators from django.core.exceptions import ValidationError -from django.db import connection, transaction, models, IntegrityError +from django.db import IntegrityError, connection, models, transaction from django.db.models.fields import ( - AutoField, BigIntegerField, BinaryField, BooleanField, CharField, - CommaSeparatedIntegerField, DateField, DateTimeField, DecimalField, - EmailField, FilePathField, FloatField, IntegerField, IPAddressField, - GenericIPAddressField, NOT_PROVIDED, NullBooleanField, PositiveIntegerField, + NOT_PROVIDED, AutoField, BigIntegerField, BinaryField, BooleanField, + CharField, CommaSeparatedIntegerField, DateField, DateTimeField, + DecimalField, EmailField, FilePathField, FloatField, GenericIPAddressField, + IntegerField, IPAddressField, NullBooleanField, PositiveIntegerField, PositiveSmallIntegerField, SlugField, SmallIntegerField, TextField, - TimeField, URLField) + TimeField, URLField, +) from django.db.models.fields.files import FileField, ImageField from django.utils import six from django.utils.functional import lazy @@ -24,9 +23,10 @@ from django.utils.functional import lazy from .models import ( Bar, BigD, BigIntegerModel, BigS, BooleanModel, DataModel, DateTimeModel, Document, FksToBooleans, FkToChar, FloatModel, Foo, GenericIPAddress, - IntegerModel, NullBooleanModel, PositiveIntegerModel, PositiveSmallIntegerModel, - Post, PrimaryKeyCharModel, RenamedField, SmallIntegerModel, VerboseNameField, - Whiz, WhizIter, WhizIterEmpty) + IntegerModel, NullBooleanModel, PositiveIntegerModel, + PositiveSmallIntegerModel, Post, PrimaryKeyCharModel, RenamedField, + SmallIntegerModel, VerboseNameField, Whiz, WhizIter, WhizIterEmpty, +) class BasicFieldTests(test.TestCase): |
