mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 07:48:57 +00:00
Add migration to version 2 and update tests
This commit is contained in:
@@ -26,5 +26,5 @@ def test_add_and_retrieve_entry():
|
||||
}
|
||||
|
||||
data = enc_mgr.load_json_data(entry_mgr.index_file)
|
||||
assert str(index) in data.get("passwords", {})
|
||||
assert data["passwords"][str(index)] == entry
|
||||
assert str(index) in data.get("entries", {})
|
||||
assert data["entries"][str(index)] == entry
|
||||
|
Reference in New Issue
Block a user