On Tue, Jun 23, 2009 at 11:53 AM, brianmac44 <brian....@gmail.com> wrote:

>
> I tried to test template tags with doctests and unittests but I'm not
> sure what token and/or context to use. What's the best practice for
> testing template tags?
>

I don't know if this is best practice, but here is the way I test my
template tags essentially by rendering the templates:

http://bitbucket.org/newmaniese/newmanutils/src/tip/newmanutils/tests.py

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to