django1/tests/regressiontests/forms/localflavor
Russell Keith-Magee afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
assert_ -> assertTrue
 assertEquals -> assertEqual
 failUnless -> assertTrue

For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 15:04:39 +00:00
..
__init__.py Fixed #14871, #14872 -- ZAIDField didn't handle alll EMPTY_VALUES correctly and ZAPostCodeField didn't respect *args or **kwargs (such as required=False). Also converted South African localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:33:44 +00:00
ar.py Converted the Argentina localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit for the patch. 2010-12-12 04:33:38 +00:00
at.py Fixed #14499 -- ATSocialSecurityNumberField now responds to all EMPTY_VALUES correctly. Also converted Austrian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit for the patch. 2010-12-12 04:33:50 +00:00
au.py Converted Australian localfavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit for the patch. 2010-12-18 20:29:07 +00:00
be.py Converted Belerusian localflavor tests to use the new, less verbose format. Thanks to Idan Gazit for the patch. 2010-12-18 20:29:16 +00:00
br.py Converted the Brazillian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:29:25 +00:00
ca.py Converted Canadian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:29:44 +00:00
ch.py Converted Swiss localflavor doctests to unittests. Thanks to Idan Gazit for the patch. 2010-12-18 20:29:54 +00:00
cl.py Fixed #15175 -- Ensured that Chliean RUT checksum letters aren't case sensitive. Thanks to rvimer for the report, and to ersame for the patch. 2011-02-08 11:59:38 +00:00
cz.py Fixed #14593 -- change this warning to be a PendingDeprecationWarning. Also converted the Czech localflavor tests to be unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-27 07:41:26 +00:00
de.py Began converting localflavor doctests into unittests, starting with the German ones. Also introduced a new base class to facilitate ease of testing form fields. We have always been at war with doctests. Thanks to Idan Gazit for the patch. 2010-11-19 19:33:07 +00:00
es.py Converted Spanish localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:30:16 +00:00
fi.py Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
fr.py Converted French localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:30:38 +00:00
generic.py Converted generic localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:30:50 +00:00
id.py Converted Indonesian localflavor doctests to unittests. We have always been a war with doctests. Thanks to Idan Gazit. 2010-12-18 20:31:00 +00:00
ie.py Converted Irish localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:31:10 +00:00
il.py Fixed #14750 -- ILPostalCodeField didn't handle all EMPTY_VALUES correctly. Also converted the Israeli localflavor testcases to use the new, less verbose format. Thanks to Idan Gazit. 2010-12-18 20:31:22 +00:00
is_.py Converted Icelandic localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:31:37 +00:00
it.py Fixed #14859 -- ITSocialSecurityNumberField and ITVatNumberField didn't handle all EMPTY_VALUES gracefully. Also converted the Italias localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:31:49 +00:00
jp.py Converted Japanese localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:31:58 +00:00
kw.py Converted Kuwaiti localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:32:08 +00:00
nl.py Converted Dutch localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:32:17 +00:00
pl.py 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. 2010-12-18 20:32:31 +00:00
pt.py Converted Portuguese localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:32:41 +00:00
ro.py Fixed #14864, #14864 -- ROCIFField didn't accept values starting with RO, as it was supposed to, and ROCNPField, ROIBANField, and ROPhoneNumberField didn't handle all EMPTY_VALUES correctly. Also converted Romanian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:32:54 +00:00
se.py Converted Swedish localflavor tests from doctests to unittests. Thanks, Idan Gazit! 2010-12-26 11:44:37 +00:00
sk.py Converted Slovak localflavor doctests into unitttests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:33:04 +00:00
tr.py Fixed #14563 -- Added Turkish localflavor. Thanks to serkank for the patch. 2010-12-04 05:25:24 +00:00
uk.py Converted United Kingdom localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:33:13 +00:00
us.py Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
utils.py Converted Swedish localflavor tests from doctests to unittests. Thanks, Idan Gazit! 2010-12-26 11:44:37 +00:00
uy.py Converted Uruguayan localflavor doctests into unittests. We have alwyas been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:33:32 +00:00
za.py Fixed #14871, #14872 -- ZAIDField didn't handle alll EMPTY_VALUES correctly and ZAPostCodeField didn't respect *args or **kwargs (such as required=False). Also converted South African localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:33:44 +00:00