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

Function test_search_path_proxy

test/test_options.py:123–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121
122
123def test_search_path_proxy() -> None:
124 paths = [
125 (ConfigLevel.GLOBAL, '/tmp2/global'),
126 (ConfigLevel.XDG, '/tmp2/xdg'),
127 (ConfigLevel.SYSTEM, '/tmp2/etc'),
128 ]
129
130 for level, path in paths:
131 pygit2.settings.search_path[level] = path
132 assert path == pygit2.settings.search_path[level]
133
134
135def test_owner_validation() -> 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…