mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
odb: use regular upload() when the source filesystem is local (#6365)
* odb: use regular upload() when the source filesystem is local * support download_file too
This commit is contained in:
@@ -51,7 +51,7 @@ def test_cache_reused(erepo_dir, mocker, local_cloud):
|
||||
erepo_dir.dvc_gen("file", "text", commit="add file")
|
||||
erepo_dir.dvc.push()
|
||||
|
||||
download_spy = mocker.spy(LocalFileSystem, "upload_fobj")
|
||||
download_spy = mocker.spy(LocalFileSystem, "upload")
|
||||
|
||||
# Use URL to prevent any fishy optimizations
|
||||
url = f"file://{erepo_dir}"
|
||||
|
||||
Reference in New Issue
Block a user