def test_migrate(self): self.assertEqual(get_db_schema_version(self.db), SCHEMA_VERSION) migrate_data(self.db, 1) self.assertEqual(get_db_schema_version(self.db), SCHEMA_VERSION)