Skip to content
Snippets Groups Projects
Commit 4ae7aad7 authored by vlorentz's avatar vlorentz Committed by Phabricator Migration user
Browse files

Add basic migration tests for postgresql

This adds two test files:

* `test_postgresql_migrated.py` applies an old schema definition, runs the
  migrations, then runs all the usual tests
* `test_postgresql_migration.py` applies an old schema definition, inserts
  data, runs the migrations, and checks the data is still available

`test_postgresql_migration.py` will probably break in some releases as
it uses the old SQL with the new Python to insert, but it should be good
enough, and we can disable it in some releases when needed.
parent 7bd531db
No related branches found
Tags debian/0.43.1-1_swh1
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment