Skip to content

Commit

Permalink
Merge pull request #3138 from pared/2896_repro_cmd
Browse files Browse the repository at this point in the history
tests: repro: unit: migrate to dir helpers
  • Loading branch information
efiop authored Jan 14, 2020
2 parents 6869ee6 + ba63900 commit 88fb097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/command/test_repro.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 88fb097

Please sign in to comment.