Add index caching to EntryManager

This commit is contained in:
thePR0M3TH3AN
2025-07-12 13:48:10 -04:00
parent 393763c9c8
commit f4fe208b7f
2 changed files with 16 additions and 3 deletions

View File

@@ -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"