Re: Test, RunPython, Datamigrations with Django 1.7.5

2015-03-04 Thread sam
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

Test, RunPython, Datamigrations with Django 1.7.5

2015-03-04 Thread sam
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