[TIP] Django factory - Model Mommy

vanderson.mota at gmail.com vanderson.mota at gmail.com
Tue Feb 22 16:14:55 PST 2011


> This looks interesting and I'm hoping to use it on a project I'm working
> on now, but I tried to add support for EmailField to it and couldn't
> find out how to run the test suite... Is that documented anywhere?

Just create a dummy project and add model_mommy to installed_apps.
Then run it using the ./manage.py test.

Cheers!

2011/2/22 Guilherme Salgado <salgado at canonical.com>:
> Hi Vanderson!
>
> This looks interesting and I'm hoping to use it on a project I'm working
> on now, but I tried to add support for EmailField to it and couldn't
> find out how to run the test suite... Is that documented anywhere?
>
> Cheers,
>
> On Tue, 2011-01-25 at 09:40 -0200, vanderson.mota at gmail.com wrote:
>> Hi, don't know if is it the right place but i've created an Object
>> factory lib for django, called model_mommy.
>>
>> https://github.com/vandersonmota/model_mommy
>>
>> Cheers!
>
> --
> Guilherme Salgado <https://launchpad.net/~salgado>
>



-- 
Vanderson Mota dos Santos



More information about the testing-in-python mailing list