mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
dvc: upgrade to dvc-objects 0.0.4
This commit is contained in:
committed by
skshetry
parent
7b16a377e5
commit
ef689c5593
@@ -957,9 +957,7 @@ def test_add_to_remote(tmp_dir, dvc, remote, workspace):
|
||||
|
||||
hash_info = stage.outs[0].hash_info
|
||||
meta = stage.outs[0].meta
|
||||
with open(
|
||||
remote.hash_to_path(hash_info.value), encoding="utf-8"
|
||||
) as stream:
|
||||
with open(remote.oid_to_path(hash_info.value), encoding="utf-8") as stream:
|
||||
assert stream.read() == "foo"
|
||||
|
||||
assert meta.size == len("foo")
|
||||
|
||||
Reference in New Issue
Block a user