Commit Graph
4 Commits
Author SHA1 Message Date
John Davis b57ec18991 Refactor migration testing setup code
- Do not explicitly import fixtures (a little duplication is safer/cleaner)
- Move dangerous fixture into module to prevent accidental usage from other modules
- Ensure only one database is used for all tests in module
2024-09-24 20:47:09 -04:00
John Davis 03641a98fa Fix migration data fixes tests
When upgrading back to a valid revision, upgrade to head, not the
revision under test: we need the latest version of the model definition
in the database for the test to cleanup correctly.
2024-09-24 16:16:05 -04:00
John Davis 5524ea77a7 Add tests for migration fixes 2024-09-23 23:52:05 -04:00
John Davis 87573ee617 Add tests for migration data fixes 2024-09-21 00:18:02 -04:00