MCPcopy Create free account
hub / github.com/libgit2/pygit2 / test_get_workdir

Function test_get_workdir

test/test_repository.py:79–81  ·  view source on GitHub ↗
(testrepo_path: tuple[Repository, Path])

Source from the content-addressed store, hash-verified

77
78
79def test_get_workdir(testrepo_path: tuple[Repository, Path]) -> None:
80 testrepo, path = testrepo_path
81 assert Path(testrepo.workdir).resolve() == path.resolve()
82
83
84def test_set_workdir(testrepo: Repository) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…