[TIP] Django factory - Model Mommy

vanderson.mota at gmail.com vanderson.mota at gmail.com
Wed Feb 23 04:29:01 PST 2011


> FWIW, it's pretty easy to provide a test-runner with a reusable Django
> app that makes running the tests less painful than that. See for example
> https://github.com/carljm/django-adminfiles/blob/master/tests/runtests.py

Thanks Carl! I'll take a look.

2011/2/23 Carl Meyer <carl at oddbird.net>:
> On 02/22/2011 07:14 PM, vanderson.mota at gmail.com wrote:
>> Just create a dummy project and add model_mommy to installed_apps.
>> Then run it using the ./manage.py test.
>
> FWIW, it's pretty easy to provide a test-runner with a reusable Django
> app that makes running the tests less painful than that. See for example
> https://github.com/carljm/django-adminfiles/blob/master/tests/runtests.py
>
> Carl
>
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python
>



-- 
Vanderson Mota dos Santos



More information about the testing-in-python mailing list