mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
dvc: get rid of path_info
Intermediate PR in removing path_info from our code base. It is completely removed from the main codebase and is still being used in tests, which will be migrated in the followups. For fs-specific simple path manipulation, we've introduced `fs.path` helper (similar to `os.path`). Fixes #6774
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
4175f9ffa4
commit
9aec8f1926
@@ -28,7 +28,7 @@ def test_find_outs_by_path(tmp_dir, dvc, path):
|
||||
|
||||
outs = dvc.find_outs_by_path(path, strict=False)
|
||||
assert len(outs) == 1
|
||||
assert outs[0].path_info == stage.outs[0].path_info
|
||||
assert outs[0].fs_path == stage.outs[0].fs_path
|
||||
|
||||
|
||||
def test_find_outs_by_path_does_graph_checks(tmp_dir, dvc):
|
||||
|
||||
Reference in New Issue
Block a user