Re: About unit testing

2010-01-22 Thread Dougal Matthews
If you look at the tests in django-shorturls you can see how they created models that were only used for the tests: http://github.com/jacobian/django-shorturls/tree/master/src/shorturls/tests/ --- Dougal Matthews - @d0ugal http://www.dougalmatthews.com/ 2010/1/22 Gabriel Reis > Hi, > > I w

Re: About unit testing

2010-01-22 Thread Larrik Jaerico
What are you actually trying to accomplish? On Jan 22, 6:25 am, Gabriel Reis wrote: > Hi, > > I would like to know if it is mandatory to create an application and define > my model in the models.py file or if it is possible to define a model > locally in my test method (inside my TestCase class)