mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
output: serialize 3.x hash name in 'hash' field
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
603f5fdba1
commit
2cd33e10ac
@@ -214,10 +214,20 @@ def test_subrepos_are_ignored(tmp_dir, erepo_dir):
|
||||
shallow=False,
|
||||
hardlink=True,
|
||||
)
|
||||
if os.name == "nt":
|
||||
expected_gitignore_path = (
|
||||
cache_dir / "d5" / "61e684092f0ff908aa82ee9cc1e594"
|
||||
)
|
||||
expected_dir_path = cache_dir / "0d" / "2086760aea091f1504eafc8843bb18.dir"
|
||||
else:
|
||||
expected_gitignore_path = (
|
||||
cache_dir / "94" / "7d2b84e5aa88170e80dff467a5bfb6"
|
||||
)
|
||||
expected_dir_path = cache_dir / "e1" / "d9e8eae5374860ae025ec84cfd85c7.dir"
|
||||
assert set(cache_dir.glob("??/*")) == {
|
||||
cache_dir / "e1" / "d9e8eae5374860ae025ec84cfd85c7.dir",
|
||||
expected_dir_path,
|
||||
expected_gitignore_path,
|
||||
cache_dir / "37" / "b51d194a7513e45b56f6524f2d51f2",
|
||||
cache_dir / "94" / "7d2b84e5aa88170e80dff467a5bfb6",
|
||||
cache_dir / "ac" / "bd18db4cc2f85cedef654fccc4a4d8",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user