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

Function test_remove

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

Source from the content-addressed store, hash-verified

62
63
64def test_remove(dvc):
65 target1 = "1"
66 target2 = "2"
67
68 args = parse_args(["remove", target1, target2])
69
70 cmd = args.func(args)
71 assert isinstance(cmd, CmdRemove)
72 assert args.targets == [target1, target2]
73
74 cmd.repo.close()
75
76
77def test_add(dvc):

Callers

nothing calls this directly

Calls 3

parse_argsFunction · 0.90
funcMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected