dvc: upgrade to dvc-objects 0.0.4

This commit is contained in:
Ruslan Kuprieiev
2022-06-13 18:03:53 +05:45
committed by skshetry
parent 7b16a377e5
commit ef689c5593
20 changed files with 110 additions and 313 deletions
+2 -2
View File
@@ -60,8 +60,8 @@ def test_clear_on_download_err(tmp_dir, dvc, index, mocker):
out = tmp_dir.dvc_gen({"dir": {"foo": "foo content"}})[0].outs[0]
dvc.push()
for _, _, oid in out.obj:
remove(dvc.odb.local.get(oid).fs_path)
for _, _, hi in out.obj:
remove(dvc.odb.local.get(hi.value).path)
remove(out.fs_path)
assert list(index.hashes())