tests: don't forget --external when adding external files

This commit is contained in:
Ruslan Kuprieiev
2020-06-03 08:38:51 +03:00
committed by GitHub
parent ac4f351daf
commit 57e920aa39
+1 -1
View File
@@ -763,7 +763,7 @@ def test_checkout_for_external_outputs(tmp_dir, dvc):
Bucket=remote.path_info.bucket, Key=file_path.path, Body="foo"
)
dvc.add(str(remote.path_info / "foo"))
dvc.add(str(remote.path_info / "foo"), external=True)
remote.tree.remove(file_path)
stats = dvc.checkout(force=True)