mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-12-02 23:10:25 +01:00
test: update: use dvc_repo fixture
To fix test failure.
This commit is contained in:
@@ -2,7 +2,7 @@ from dvc.cli import parse_args
|
||||
from dvc.command.update import CmdUpdate
|
||||
|
||||
|
||||
def test_update(mocker):
|
||||
def test_update(dvc_repo, mocker):
|
||||
targets = ["target1", "target2", "target3"]
|
||||
cli_args = parse_args(["update"] + targets)
|
||||
assert cli_args.func == CmdUpdate
|
||||
|
||||
Reference in New Issue
Block a user