On Sat, Nov 22, 2008 at 9:52 AM, Florencio Cano
<[EMAIL PROTECTED]> wrote:
> Hi!
> I'm testing a Django application where I'm using i18n.
>
> [...]
>
> FAIL: test_agregar_responsable_nombre_duplicado_tildes
> (gesfich.fichlopd.tests.RegistrarUsuariosTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/fcano/GesFichLOPD/gesfich/../gesfich/fichlopd/tests.py",
> line 228, in test_agregar_responsable_nombre_duplicado_tildes
>    self.assertFormError(respuesta2, 'responsable_form', 'nombre', 'Ya
> existe un responsable con este nombre')
>  File "/usr/lib/python2.5/site-packages/django/test/testcases.py",
> line 317, in assertFormError
>    repr(field_errors)))
> AssertionError: The field 'nombre' on form 'responsable_form' in
> context 0 does not contain the error 'Ya existe un responsable con
> este nombre' (actual errors: [u'Responsable with this Nombre already
> exists.'])
>

Does the settings file being used for the tests have USE_i18N=True?

-- 
 Ramiro Morales

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

Reply via email to