Skip to content

Commit 2bd64cc

Browse files
committed
remove test: get/import will not support absolute paths from now on
1 parent 22b293c commit 2bd64cc

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tests/func/test_get.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -98,22 +98,6 @@ def test_get_a_dvc_file(tmp_dir, erepo_dir):
9898
Repo.get(os.fspath(erepo_dir), "some_file.dvc")
9999

100100

101-
# https://github.com/iterative/dvc/pull/2837#discussion_r352123053
102-
def test_get_full_dvc_path(tmp_dir, erepo_dir, tmp_path_factory):
103-
path = tmp_path_factory.mktemp("ext")
104-
external_data = path / "ext_data"
105-
external_data.write_text("ext_data")
106-
107-
with erepo_dir.chdir():
108-
erepo_dir.dvc.add(os.fspath(external_data), external=True)
109-
erepo_dir.scm_add("ext_data.dvc", commit="add external data")
110-
111-
Repo.get(
112-
os.fspath(erepo_dir), os.fspath(external_data), "ext_data_imported"
113-
)
114-
assert (tmp_dir / "ext_data_imported").read_text() == "ext_data"
115-
116-
117101
def test_non_cached_output(tmp_dir, erepo_dir):
118102
src = "non_cached_file"
119103
dst = src + "_imported"

0 commit comments

Comments
 (0)