Well, answer is here:
https://docs.djangoproject.com/en/1.7/topics/testing/overview/#rollback-emulation
Need to use serialized_rollback = True in TransactionTestCase
Le mercredi 4 mars 2015 18:24:34 UTC+1, sam a écrit :
>
> Hello,
>
> I have an issue trying to run tests.
> My application use a m
Hello,
I have an issue trying to run tests.
My application use a migration to have default fixtures (created using
migrations.RunPython from a migration file).
The problem is when I launch manage.py test, the fixtures from the
migration are created on the "production" database and not on the t
2 matches
Mail list logo