remove dvc.scm and dvc.fs.git module; rename dvc.fs.scm to dvc.fs.git

This commit is contained in:
Saugat Pachhai (सौगात)
2021-11-25 19:09:58 +02:00
committed by Ruslan Kuprieiev
parent 57c6b1036f
commit ea52ab2260
42 changed files with 121 additions and 3568 deletions
+1 -1
View File
@@ -474,7 +474,7 @@ def test_download_dir_callback(tmp_dir, dvc, cloud):
@pytest.mark.parametrize("fs_type", ["git", "dvc"])
def test_download_callbacks_on_dvc_git_fs(tmp_dir, dvc, scm, fs_type):
from dvc.fs.scm import GitFileSystem
from dvc.fs.git import GitFileSystem
gen = tmp_dir.scm_gen if fs_type == "git" else tmp_dir.dvc_gen
gen({"dir": {"foo": "foo", "bar": "bar"}, "file": "file"}, commit="gen")