Remove a handful of import * from the tests.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor 2011-10-13 12:53:02 +00:00
parent 406f9d1fa0
commit 43920cd32e
6 changed files with 27 additions and 22 deletions

View file

@ -4,8 +4,10 @@ from django.forms import *
from django.test import TestCase
from django.utils.safestring import mark_safe
from django.utils import unittest
from regressiontests.forms.tests.fields import verify_exists_urls
class AssertFormErrorsMixin(object):
def assertFormErrors(self, expected, the_callable, *args, **kwargs):
try:
@ -14,7 +16,6 @@ class AssertFormErrorsMixin(object):
except ValidationError, e:
self.assertEqual(e.messages, expected)
class FormsErrorMessagesTestCase(unittest.TestCase, AssertFormErrorsMixin):
def test_charfield(self):
e = {