mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 15:58:48 +00:00
test: cover legacy migration prompt
This commit is contained in:
@@ -76,6 +76,9 @@ class Vault:
|
||||
)
|
||||
|
||||
data = self.encryption_manager.load_json_data(self.index_file)
|
||||
self.migrated_from_legacy = self.migrated_from_legacy or getattr(
|
||||
self.encryption_manager, "last_migration_performed", False
|
||||
)
|
||||
from .migrations import apply_migrations, LATEST_VERSION
|
||||
|
||||
version = data.get("schema_version", 0)
|
||||
|
Reference in New Issue
Block a user