diff options
| author | Tim Graham <timograham@gmail.com> | 2013-10-22 08:28:34 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-22 08:32:01 -0400 |
| commit | 8e2029f8ddd744acb97e236cb0703d94b12d5ff8 (patch) | |
| tree | 21afebf65cfd3cc8f950ef2d1e3f9950dbccd105 /tests/validators | |
| parent | 2110b3136552493fe7771c98f8ffb012d8bb5538 (diff) | |
Removed import * in tests.
Thanks to flake8 path/to/file.py | awk -F ' ' '{ print $5 }' | sort | uniq
Diffstat (limited to 'tests/validators')
| -rw-r--r-- | tests/validators/tests.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/validators/tests.py b/tests/validators/tests.py index 121d59803c..410fc15f0b 100644 --- a/tests/validators/tests.py +++ b/tests/validators/tests.py @@ -7,7 +7,13 @@ import types from unittest import TestCase from django.core.exceptions import ValidationError -from django.core.validators import * +from django.core.validators import ( + BaseValidator, EmailValidator, MaxLengthValidator, MaxValueValidator, + MinLengthValidator, MinValueValidator, RegexValidator, URLValidator, + validate_comma_separated_integer_list, validate_email, validate_integer, + validate_ipv46_address, validate_ipv4_address, validate_ipv6_address, + validate_slug, +) from django.test.utils import str_prefix |
