autowisp.tests.test_database_migration module
Class Inheritance Diagram

Unit tests for the lightweight additive-column migration.
These need only a throwaway SQLite database, not a full project, so they
subclass unittest.TestCase directly.
- class autowisp.tests.test_database_migration.TestAdditiveMigrations(methodName='runTest')[source]
Bases:
TestCase
apply_additive_migrationsadds missing nullable columns.- _make_old_project()[source]
Simulate an existing project: a
pipeline_runtable from beforecode_versionand theerrortable existed, holding a row.