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

Function test_dvcignore_pattern_change_dir

tests/unit/test_pathspec_math.py:71–74  ·  view source on GitHub ↗
(tmp_dir, patterns, dirname, changed)

Source from the content-addressed store, hash-verified

69 ],
70)
71def test_dvcignore_pattern_change_dir(tmp_dir, patterns, dirname, changed):
72 assert _change_dirname(dirname, [PatternInfo(patterns, "")], "/") == [
73 PatternInfo(changed, "")
74 ]

Callers

nothing calls this directly

Calls 2

_change_dirnameFunction · 0.90
PatternInfoClass · 0.90

Tested by

no test coverage detected