pytest-django
pytest-django copied to clipboard
serialized_rollback not working under all circumstances
trafficstars
I am using serialized_rollback to retain some data migration between tests that need a database transaction. Unfortunately, things break when, for example, using the page fixture of Playwright or the migrator fixture of django-test-migrations. In those cases, serialized_rollback is ignored, and the data is not rolled back anymore. I am not sure why this exactly happens or how to deal with it.