MCPcopy
hub / github.com/treeverse/dvc / test_repro

Function test_repro

tests/func/test_cli.py:47–61  ·  view source on GitHub ↗
(dvc)

Source from the content-addressed store, hash-verified

45
46
47def test_repro(dvc):
48 target1 = "1"
49 target2 = "2"
50
51 args = parse_args(
52 ["repro", target1, target2, "-f", "--force", "-s", "--single-item"]
53 )
54
55 cmd = args.func(args)
56 assert isinstance(cmd, CmdRepro)
57 assert args.targets == [target1, target2]
58 assert args.force
59 assert args.single_item
60
61 cmd.repo.close()
62
63
64def test_remove(dvc):

Callers

nothing calls this directly

Calls 3

parse_argsFunction · 0.90
funcMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected