mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
Merge pull request #3138 from pared/2896_repro_cmd
tests: repro: unit: migrate to dir helpers
This commit is contained in:
@@ -15,14 +15,14 @@ default_arguments = {
|
||||
}
|
||||
|
||||
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user