Converted regressiontests/forms/fields.py to unittests

This makes merging in the soc2009/model-validation simpler and rids us a
little bit more of awful doctests. Thanks Honza!

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Brian Rosner 2009-12-13 22:00:26 +00:00
parent 2135befd64
commit bd12310427
2 changed files with 824 additions and 1491 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
from extra import tests as extra_tests
from fields import tests as fields_tests
from forms import tests as form_tests
from error_messages import tests as custom_error_message_tests
from localflavor.ar import tests as localflavor_ar_tests
@ -32,9 +31,10 @@ from widgets import tests as widgets_tests
from formsets import tests as formset_tests
from media import media_tests
from fields import FieldsTests
__test__ = {
'extra_tests': extra_tests,
'fields_tests': fields_tests,
'form_tests': form_tests,
'custom_error_message_tests': custom_error_message_tests,
'localflavor_ar_tests': localflavor_ar_tests,