Hi everyone,

I am having some problems with unit tests in Django.

If I run this code in the django shell, I got the expected result:
In [2]: actividades = ActividadExtracurricular.objects.order_by("id")

In [3]: print (actividades[1].nombre == u"Soñar despierto",
actividades[1].nombre)
Out[3]: (True, u'So\xc3\xb1ar despierto')

But when I put the same code in the tests.py file, the following
happens:
Creating test database for alias 'default'...
(False, u'So\xc3\xb1ar despierto')

Does anyone know how to solve this problem?

Thanks in advance =),
David Gómez.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en.

Reply via email to