[TIP] Django factory - Model Mommy
Carl Meyer
carl at oddbird.net
Tue Feb 22 20:27:00 PST 2011
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
More information about the testing-in-python
mailing list