summaryrefslogtreecommitdiff
path: root/tests/regressiontests/forms/localflavor
AgeCommit message (Collapse)Author
2011-08-24Fixed #15837. Consolidated all the locaflavor tests into a single, logical, ↵Julien Phalip
place (regressiontests/localflavor/). git-svn-id: http://code.djangoproject.com/svn/django/trunk@16680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23Reverted r16662 -- There are bunch of problems with this patch, including ↵Russell Keith-Magee
failing tests, that I didn't pick up before committing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23Fixed #16202 -- Added a Slovenian localflavor. Thanks to Jure Cuhalev ↵Russell Keith-Magee
<gandalf@owca.info>, Gasper Zejn, Domen Kozar and iElectric for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23Fixed #15838 -- Promoted assertFieldOutput to a general test utility. Thanks ↵Russell Keith-Magee
to Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29Fixed #16497 -- Added new form and model fields to the Mexican local flavor. ↵Jannis Leidel
Many thanks to Andrés Torres Marroquín and Gerardo Orozco. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29Fixed #8013 -- Added Columbian and Ecuadorian local flavor. Thanks, ikks and ↵Jannis Leidel
Bernhard Essl. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-13Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for ↵Jannis Leidel
the work on the patch and Alex for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-03Fixed #14608 -- Added phone number field to Indian local flavor. Thanks, ↵Jannis Leidel
lawgon and Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-28Fixed #15813 -- Updated Indian localflavor to use correct state choices and ↵Jannis Leidel
fixed various other bugs. Thanks, jsdalton. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-28Fixed #12761 -- Added Paraguayan local flavor. Thanks, dschulz and BernhardEssl.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-25Fixed #16338 -- Fixed Austrian postal codes validation. Thanks Bernhard Essl ↵Ramiro Morales
for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12Fixed broken test introduced in r16385.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12Fixed #15856 -- Added Macedonian localflavor. Many thanks to vasiliyeah.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-10Fixed #16196 - Redundant or incorrect code in testsLuke Plant
Thanks to intelliyole and melinath for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-31Fixed #15805 - assertFieldOutput should not use assertRaisesRegexpLuke Plant
Thanks to julien for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07Fixed #8527 -- Made CAPostalCodeField more forgiving of the input format. ↵Jannis Leidel
Thanks to Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03Fixed #13729 -- Renamed UK localflavor to GB to correctly follow ISO 3166. ↵Jannis Leidel
Thanks, Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03Fixed #12595 -- Fixed bad arguments handling in localflavor form fields.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-30Fixed #15640 -- Added new initial digit in Spain phone numbers to ↵Jannis Leidel
localflavor's ESPhoneNumberField form field. Thanks, Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-28Fixed #15713 -- Added a form field for validating Polish National ID Card ↵Jannis Leidel
numbers. Thanks, xtrqt. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #15705 -- Added Croatian (hr) localflavor. Thanks, Zlatko Mašek and ↵Jannis Leidel
Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #15013 -- Added Russian (ru) localflavor package. Thanks, blackraven ↵Jannis Leidel
and Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #12379 -- Added Chinese (cn) localflavor package. Thanks, Xia Kai, ↵Jannis Leidel
Daniel Duan, DaNmarner and Łukasz Rekucki. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Updates to the test suite to allow for newly deprecated and removed featuresRussell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-17Fixed #15623 -- Corrected province codes for Canadian localflavor. Thanks to ↵Russell Keith-Magee
shelldweller for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03Updated test assertions that have been deprecated by the move to unittest2. ↵Russell Keith-Magee
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-02-08Fixed #15175 -- Ensured that Chliean RUT checksum letters aren't case ↵Russell Keith-Magee
sensitive. Thanks to rvimer for the report, and to ersame for the patch. H: Enter commit message. Lines beginning with 'HG:' are removed. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27Fixed #14593 -- change this warning to be a PendingDeprecationWarning. Also ↵Alex Gaynor
converted the Czech localflavor tests to be unittests. We have always been at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26Updated list of US states and tests after r15029 to be sorted correctly.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26Converted Swedish localflavor tests from doctests to unittests. Thanks, Idan ↵Jannis Leidel
Gazit! git-svn-id: http://code.djangoproject.com/svn/django/trunk@15057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19Fixed a Python 2.5 syntax error.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixed #14871, #14872 -- ZAIDField didn't handle alll EMPTY_VALUES correctly ↵Alex Gaynor
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. Fixing ZA localflavor clean() #14872 git-svn-id: http://code.djangoproject.com/svn/django/trunk@14956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Uruguayan localflavor doctests into unittests. We have alwyas ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted United States localflavor doctests into unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted United Kingdom localflavor doctests into unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Slovak localflavor doctests into unitttests. We have always been ↵Alex Gaynor
at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixed #14864, #14864 -- ROCIFField didn't accept values starting with RO, as ↵Alex Gaynor
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. Fixing RO localflavor clean() #14864 git-svn-id: http://code.djangoproject.com/svn/django/trunk@14951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Portuguese localflavor doctests into unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixed #14860 -- PLPESELField, PLNIPField, and PLREGONField didn't handle all ↵Alex Gaynor
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
2010-12-18Converted Dutch localflavor doctests to unittests. We have always been at ↵Alex Gaynor
war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Kuwaiti localflavor doctests to unittests. We have always been at ↵Alex Gaynor
war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Japanese localflavor doctests to unittests. We have always been ↵Alex Gaynor
at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixed #14859 -- ITSocialSecurityNumberField and ITVatNumberField didn't ↵Alex Gaynor
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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Icelandic localflavor doctests to unittests. We have always been ↵Alex Gaynor
at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixed #14750 -- ILPostalCodeField didn't handle all EMPTY_VALUES correctly. ↵Alex Gaynor
Also converted the Israeli localflavor testcases to use the new, less verbose format. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Irish localflavor doctests to unittests. We have always been at ↵Alex Gaynor
war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Indonesian localflavor doctests to unittests. We have always been ↵Alex Gaynor
a war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted generic localflavor doctests to unittests. We have always been at ↵Alex Gaynor
war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted French localflavor doctests into unittests. We have always been ↵Alex Gaynor
at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Converted Finnish localflavor doctests to unittests. We have always been at ↵Alex Gaynor
war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14938 bcc190cf-cafb-0310-a4f2-bffc1f526a37