mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-14 18:19:37 +00:00
test: ensure migration sync is opt-in
This commit is contained in:
@@ -34,7 +34,7 @@ def test_open_legacy_without_migrating(tmp_path, monkeypatch):
|
||||
assert mgr.last_migration_performed is False
|
||||
|
||||
|
||||
def test_migrate_legacy_and_sync(tmp_path, monkeypatch):
|
||||
def test_migrate_legacy_sets_flag(tmp_path, monkeypatch):
|
||||
password = "secret"
|
||||
_setup_legacy_file(tmp_path, password)
|
||||
new_key = base64.urlsafe_b64encode(b"B" * 32)
|
||||
|
Reference in New Issue
Block a user