'A migration from one configuration version to another will
sequentially perform all necessary upgrades, e.g. v1 to v2 followed
by v2 to v3.'

def test_sequential_migrations(self):

    v2_config = migrate_configuration(1, 2, self.v1_config, StubMigration)
    result = migrate_configuration(1, 3, self.v1_config, StubMigration)
    self.assertEqual(result, StubMigration.upgrade_from_v2(v2_config))
