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

Function test_move_directory

tests/func/test_move.py:48–52  ·  view source on GitHub ↗
(tmp_dir, dvc)

Source from the content-addressed store, hash-verified

46
47
48def test_move_directory(tmp_dir, dvc):
49 tmp_dir.dvc_gen("data", {"foo": "foo", "bar": "bar"})
50 dvc.move("data", "dst")
51 assert not (tmp_dir / "data").is_dir()
52 assert (tmp_dir / "dst").is_dir()
53
54
55def test_cmd_move(tmp_dir, dvc):

Callers

nothing calls this directly

Calls 3

dvc_genMethod · 0.80
moveMethod · 0.80
is_dirMethod · 0.80

Tested by

no test coverage detected