mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 15:28:28 +01:00
fs: make localfs fsspec-compliant
It is not completely fsspec compliant, but it's upto the level required by our FSSpecWrapper. Next thing to tackle would be to merging `fs.base.FileSystem` and `fs.fsspec_wrapper.FSSpecWrapper` into one filesystem that is lazily-loaded and is itself fsspec-compliant.
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
fed0bfb2b3
commit
23e62a9ff7
@@ -783,7 +783,7 @@ def test_add_optimization_for_hardlink_on_empty_files(tmp_dir, dvc, mocker):
|
||||
m = mocker.spy(LocalFileSystem, "is_hardlink")
|
||||
stages = dvc.add(["foo", "bar", "lorem", "ipsum"])
|
||||
|
||||
assert m.call_count == 4
|
||||
assert m.call_count == 8
|
||||
assert m.call_args != call(tmp_dir / "foo")
|
||||
assert m.call_args != call(tmp_dir / "bar")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user