test: update: use dvc_repo fixture

To fix test failure.
This commit is contained in:
Ruslan Kuprieiev
2019-11-19 19:12:49 +02:00
committed by GitHub
parent 7fae34ee5d
commit 404620e267
+1 -1
View File
@@ -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