mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 15:28:28 +01:00
import: drop --file (#9562)
This commit is contained in:
@@ -10,8 +10,6 @@ def test_import(mocker):
|
||||
"src",
|
||||
"--out",
|
||||
"out",
|
||||
"--file",
|
||||
"file",
|
||||
"--rev",
|
||||
"version",
|
||||
"--jobs",
|
||||
@@ -29,7 +27,6 @@ def test_import(mocker):
|
||||
"repo_url",
|
||||
path="src",
|
||||
out="out",
|
||||
fname="file",
|
||||
rev="version",
|
||||
no_exec=False,
|
||||
no_download=False,
|
||||
@@ -45,8 +42,6 @@ def test_import_no_exec(mocker):
|
||||
"src",
|
||||
"--out",
|
||||
"out",
|
||||
"--file",
|
||||
"file",
|
||||
"--rev",
|
||||
"version",
|
||||
"--no-exec",
|
||||
@@ -62,7 +57,6 @@ def test_import_no_exec(mocker):
|
||||
"repo_url",
|
||||
path="src",
|
||||
out="out",
|
||||
fname="file",
|
||||
rev="version",
|
||||
no_exec=True,
|
||||
no_download=False,
|
||||
@@ -78,8 +72,6 @@ def test_import_no_download(mocker):
|
||||
"src",
|
||||
"--out",
|
||||
"out",
|
||||
"--file",
|
||||
"file",
|
||||
"--rev",
|
||||
"version",
|
||||
"--no-download",
|
||||
@@ -95,7 +87,6 @@ def test_import_no_download(mocker):
|
||||
"repo_url",
|
||||
path="src",
|
||||
out="out",
|
||||
fname="file",
|
||||
rev="version",
|
||||
no_exec=False,
|
||||
no_download=True,
|
||||
|
||||
@@ -13,8 +13,6 @@ def test_import_url(mocker):
|
||||
"import-url",
|
||||
"src",
|
||||
"out",
|
||||
"--file",
|
||||
"file",
|
||||
"--jobs",
|
||||
"4",
|
||||
]
|
||||
@@ -29,7 +27,6 @@ def test_import_url(mocker):
|
||||
m.assert_called_once_with(
|
||||
"src",
|
||||
out="out",
|
||||
fname="file",
|
||||
no_exec=False,
|
||||
no_download=False,
|
||||
remote=None,
|
||||
@@ -70,8 +67,6 @@ def test_import_url_no_exec_download_flags(mocker, flag, expected):
|
||||
flag,
|
||||
"src",
|
||||
"out",
|
||||
"--file",
|
||||
"file",
|
||||
]
|
||||
)
|
||||
|
||||
@@ -83,7 +78,6 @@ def test_import_url_no_exec_download_flags(mocker, flag, expected):
|
||||
m.assert_called_once_with(
|
||||
"src",
|
||||
out="out",
|
||||
fname="file",
|
||||
remote=None,
|
||||
to_remote=False,
|
||||
jobs=None,
|
||||
@@ -114,7 +108,6 @@ def test_import_url_to_remote(mocker):
|
||||
m.assert_called_once_with(
|
||||
"s3://bucket/foo",
|
||||
out="bar",
|
||||
fname=None,
|
||||
no_exec=False,
|
||||
no_download=False,
|
||||
remote="remote",
|
||||
|
||||
Reference in New Issue
Block a user