Merge lp:~elachuni/u1-test-utils/migration-tests into lp:u1-test-utils
Proposed by
Anthony Lenton
Status: | Rejected |
---|---|
Rejected by: | Vincent Ladeuil |
Proposed branch: | lp:~elachuni/u1-test-utils/migration-tests |
Merge into: | lp:u1-test-utils |
Diff against target: |
104 lines (+76/-6) 3 files modified
canonical/__init__.py (+0/-5) isdutils/tests/migrations.py (+75/-0) setup.py (+1/-1) |
To merge this branch: | bzr merge lp:~elachuni/u1-test-utils/migration-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil (community) | Needs Fixing | ||
Review via email: mp+55551@code.launchpad.net |
Description of the change
Overview
========
This branch adds a drop-in migration test case that can be applied to all our projects.
Details
=======
The new MigrationTestCase basically runs all migrations forwards and backwards again, to ensure that they run correctly.
A future improvement would be to add frozen fixtures that can be loaded after each migration, to ensure that the DB schema is left in a sane state.
While I was there, I renamed canonical.isd to isdutils, so that we're not using namespace packages as agreed in our team tech call.
To post a comment you must log in.
Unmerged revisions
- 2. By Anthony Lenton
-
Renamed canonical.isd package to isdutils.
Added MigrationTestCase, that should be a drop-in test for migrations in all our projects.
Unfortunately this mp seems to be abandoned, marking as rejected to clear the queue, feel free to mark needs review with an explanation if needed.