Re: Template tag testing

2009-06-23 Thread brianmac44
On Jun 23, 12:00 pm, Michael wrote: > On Tue, Jun 23, 2009 at 11:53 AM, brianmac44 wrote: > 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

Re: Template tag testing

2009-06-23 Thread Michael
On Tue, Jun 23, 2009 at 11:53 AM, brianmac44 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 temp