Author: mtredinnick
Date: 2007-05-16 18:11:49 -0500 (Wed, 16 May 2007)
New Revision: 5272

Modified:
   django/branches/unicode/tests/regressiontests/forms/localflavor.py
Log:
unicode: Test changes that I forgot to commit in [5271].


Modified: django/branches/unicode/tests/regressiontests/forms/localflavor.py
===================================================================
--- django/branches/unicode/tests/regressiontests/forms/localflavor.py  
2007-05-16 23:10:31 UTC (rev 5271)
+++ django/branches/unicode/tests/regressiontests/forms/localflavor.py  
2007-05-16 23:11:49 UTC (rev 5272)
@@ -1303,9 +1303,9 @@
 >>> rut = CLRutField()
 
 >>> rut.clean('11-6')
-'11-6'
+u'11-6'
 >>> rut.clean('116')
-'11-6'
+u'11-6'
 
 # valid format, bad verifier.
 >>> rut.clean('11.111.111-0')
@@ -1318,13 +1318,13 @@
 ValidationError: [u'The Chilean RUT is not valid.']
 
 >>> rut.clean('767484100')
-'76.748.410-0'
+u'76.748.410-0'
 >>> rut.clean('78.412.790-7')
-'78.412.790-7'
+u'78.412.790-7'
 >>> rut.clean('8.334.6043')
-'8.334.604-3'
+u'8.334.604-3'
 >>> rut.clean('76793310-K')
-'76.793.310-K'
+u'76.793.310-K'
 
 Strict RUT usage (does not allow imposible values)
 >>> rut = CLRutField(strict=True)
@@ -1346,7 +1346,7 @@
 ...
 ValidationError: [u'Enter valid a Chilean RUT. The format is XX.XXX.XXX-X.']
 >>> rut.clean('78.412.790-7')
-'78.412.790-7'
+u'78.412.790-7'
 >>> rut.clean('8.334.6043')
 Traceback (most recent call last):
 ...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to