Skip to content

Commit e1176bf

Browse files
committed
imp/imp_url cmd test: remove unnecessary dvc fixture
1 parent a620658 commit e1176bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/unit/command/test_imp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from dvc.command.imp import CmdImport
33

44

5-
def test_import(mocker, dvc):
5+
def test_import(mocker):
66
cli_args = parse_args(
77
["import", "repo_url", "src", "--out", "out", "--rev", "version"]
88
)

tests/unit/command/test_imp_url.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from dvc.exceptions import DvcException
66

77

8-
def test_import_url(mocker, dvc):
8+
def test_import_url(mocker):
99
cli_args = parse_args(["import-url", "src", "out", "--file", "file"])
1010
assert cli_args.func == CmdImportUrl
1111

@@ -17,7 +17,7 @@ def test_import_url(mocker, dvc):
1717
m.assert_called_once_with("src", out="out", fname="file")
1818

1919

20-
def test_failed_import_url(mocker, caplog, dvc):
20+
def test_failed_import_url(mocker, caplog):
2121
cli_args = parse_args(["import-url", "http://somesite.com/file_name"])
2222
assert cli_args.func == CmdImportUrl
2323

0 commit comments

Comments
 (0)