You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using django-test-migrations with pytest. My project depends on some initial data migration. After a migration test runs (using the migrator fixture) it seems my initial data is gone. I tried to set @pytest.mark.django_db(transaction=True, serialized_rollback=True), but the migrator does not seem to respect the serialized_rollback option. Is there another way to keep the initial data?
EDIT: I re-opened the issue as I am pretty sure now that it is an issue with django-test-migrations.
The text was updated successfully, but these errors were encountered:
I am using django-test-migrations with pytest. My project depends on some initial data migration. After a migration test runs (using the
migrator
fixture) it seems my initial data is gone. I tried to set@pytest.mark.django_db(transaction=True, serialized_rollback=True)
, but the migrator does not seem to respect theserialized_rollback
option. Is there another way to keep the initial data?EDIT: I re-opened the issue as I am pretty sure now that it is an issue with django-test-migrations.
The text was updated successfully, but these errors were encountered: