Open
Description
I use both in my tests and I created a media fixture (creating a temporary media directory and using the settings fixture) with autouse=True, due to alphabetic order it made the settings fixture run before the transactional_db fixture, but my post_migrate handler creating basic models depend upon the settings, in a test testing modification of those settings the teardown of transactional_db calling the flush() run with the modified settings instead of the default settings, modifying the default state of the database.
I think that a way of forcing run of setting before transactional_db must be found, as the post_migrate handler can depend upon the settings.
Metadata
Metadata
Assignees
Labels
No labels