From ba63900b29e2c766b749beebc400aced317090e5 Mon Sep 17 00:00:00 2001 From: pawel Date: Tue, 14 Jan 2020 13:43:11 +0100 Subject: [PATCH] tests: repro: unit: migrate to dir helpers --- tests/unit/command/test_repro.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/command/test_repro.py b/tests/unit/command/test_repro.py index 9dc66dc4f4..dcdfdbe743 100644 --- a/tests/unit/command/test_repro.py +++ b/tests/unit/command/test_repro.py @@ -15,14 +15,14 @@ } -def test_default_arguments(dvc_repo, mocker): +def test_default_arguments(dvc, mocker): cmd = CmdRepro(parse_args(["repro"])) mocker.patch.object(cmd.repo, "reproduce") cmd.run() cmd.repo.reproduce.assert_called_with("Dvcfile", **default_arguments) -def test_downstream(dvc_repo, mocker): +def test_downstream(dvc, mocker): cmd = CmdRepro(parse_args(["repro", "--downstream"])) mocker.patch.object(cmd.repo, "reproduce") cmd.run()