mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(db): remove duplicated test case
This commit is contained in:
parent
f2c6819d68
commit
3ba3c1918c
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user