Add modified_ts tracking and merge logic

This commit is contained in:
thePR0M3TH3AN
2025-07-24 20:28:21 -04:00
parent db90d9caf0
commit 747e2be5a9
6 changed files with 90 additions and 10 deletions

View File

@@ -44,7 +44,9 @@ def test_add_and_retrieve_entry():
data = enc_mgr.load_json_data(entry_mgr.index_file)
assert str(index) in data.get("entries", {})
assert data["entries"][str(index)] == entry
stored = data["entries"][str(index)]
stored.pop("modified_ts", None)
assert stored == entry
@pytest.mark.parametrize(