mirror of
https://github.com/django/django.git
synced 2025-11-01 04:17:59 +00:00
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:
parent
406f9d1fa0
commit
43920cd32e
6 changed files with 27 additions and 22 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue