mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-07 21:32:25 +00:00
Add index caching to EntryManager
This commit is contained in:
1 parent
393763c9c8
commit
f4fe208b7f
2 files changed
+16
-3
No files matched your search
@@ -103,7 +103,7 @@ def test_legacy_entry_defaults_to_password():
|
||||
data["entries"][str(index)].pop("type", None)
|
||||
enc_mgr.save_json_data(data, entry_mgr.index_file)
|
||||
|
||||
loaded = entry_mgr._load_index()
|
||||
loaded = entry_mgr._load_index(force_reload=True)
|
||||
assert loaded["entries"][str(index)]["type"] == "password"
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user