diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2011-10-13 12:53:02 +0000 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2011-10-13 12:53:02 +0000 |
| commit | 43920cd32e24eb293b445028c7710b42f9abc7c4 (patch) | |
| tree | 06adc32ae7706ce5238c5e9dee2e45aed4556677 /tests/regressiontests/forms | |
| parent | 406f9d1fa0424e9861c2d20a1001dbf4e29d4c9c (diff) | |
Remove a handful of `import *` from the tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/forms')
| -rw-r--r-- | tests/regressiontests/forms/tests/error_messages.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/regressiontests/forms/tests/error_messages.py b/tests/regressiontests/forms/tests/error_messages.py index 93f35704ed..c54a46331b 100644 --- a/tests/regressiontests/forms/tests/error_messages.py +++ b/tests/regressiontests/forms/tests/error_messages.py @@ -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 = { |
