> Okay, if you're calling functions directly, you can probably use
> activate() and deactivate(). Something like
> 
>         >>> from django.utils.translation import activate, deactivate
>         >>> activate('en')
>         >>> # Do tests here
>         >>> deactivate()
>         
> Or am I misunderstanding?

Absolutely not. This is what I was looking for!

> In the unicode branch, we needed something even stronger:

As a side note. I'm writing tests not only becouse it's a good practice (and
django made me realize it!) but becouse I want to switch to unicode branch 
and I wanted to have as many possible test of my library as possible.


sandro
*:-)

--~--~---------~--~----~------------~-------~--~----~
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