mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #14860 -- PLPESELField, PLNIPField, and PLREGONField didn't handle all EMPTY_VALUES correctly. Also converted teh Polish localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,6 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from localflavor.cz import tests as localflavor_cz_tests
|
||||
from localflavor.pl import tests as localflavor_pl_tests
|
||||
from localflavor.pt import tests as localflavor_pt_tests
|
||||
from localflavor.ro import tests as localflavor_ro_tests
|
||||
from localflavor.se import tests as localflavor_se_tests
|
||||
@@ -31,12 +30,12 @@ from localflavor.it import ITLocalFlavorTests
|
||||
from localflavor.jp import JPLocalFlavorTests
|
||||
from localflavor.kw import KWLocalFlavorTests
|
||||
from localflavor.nl import NLLocalFlavorTests
|
||||
from localflavor.pl import PLLocalFlavorTests
|
||||
from localflavor.tr import TRLocalFlavorTests
|
||||
|
||||
|
||||
__test__ = {
|
||||
'localflavor_cz_tests': localflavor_cz_tests,
|
||||
'localflavor_pl_tests': localflavor_pl_tests,
|
||||
'localflavor_pt_tests': localflavor_pt_tests,
|
||||
'localflavor_ro_tests': localflavor_ro_tests,
|
||||
'localflavor_se_tests': localflavor_se_tests,
|
||||
|
||||
@@ -34,5 +34,6 @@ from regressiontests.forms.localflavortests import (
|
||||
JPLocalFlavorTests,
|
||||
KWLocalFlavorTests,
|
||||
NLLocalFlavorTests,
|
||||
PLLocalFlavorTests,
|
||||
TRLocalFlavorTests,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user