Speed up stored snapshot inventory
This commit is contained in:
@@ -17,6 +17,10 @@ def test_file_storage_saves_and_loads_snapshot(tmp_path: Path):
|
||||
assert info.project_id == "demo"
|
||||
assert restored.snapshot_hash == snapshot.snapshot_hash
|
||||
assert storage.list_snapshots()[0].snapshot_id == snapshot.snapshot_id
|
||||
snapshot_ref = storage.list_snapshot_refs()[0]
|
||||
assert snapshot_ref.project_id == "demo"
|
||||
assert snapshot_ref.snapshot_id == "stored.demo"
|
||||
assert snapshot_ref.path.endswith("demo.json")
|
||||
|
||||
|
||||
def test_file_storage_generic_documents(tmp_path: Path):
|
||||
|
||||
Reference in New Issue
Block a user