fix(db): remove duplicated test case

This commit is contained in:
psychedelicious 2023-12-05 13:40:19 +11:00
parent f2c6819d68
commit 3ba3c1918c

View File

@ -42,8 +42,6 @@ def test_register_migration(migrator: SQLiteMigrator, good_migration: Migration)
migration = good_migration
migrator.register_migration(migration)
assert migration in migrator._migrations
with pytest.raises(MigrationError, match="Invalid migration version"):
migrator.register_migration(Migration(db_version=0, app_version="0.0.0", migrate=lambda cursor: None))
def test_register_invalid_migration_version(migrator: SQLiteMigrator):