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

Function test_search_path

test/test_options.py:111–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109
110
111def test_search_path() -> None:
112 paths = [
113 (ConfigLevel.GLOBAL, '/tmp/global'),
114 (ConfigLevel.XDG, '/tmp/xdg'),
115 (ConfigLevel.SYSTEM, '/tmp/etc'),
116 ]
117
118 for level, path in paths:
119 option(Option.SET_SEARCH_PATH, level, path)
120 assert path == option(Option.GET_SEARCH_PATH, level)
121
122
123def test_search_path_proxy() -> None:

Callers

nothing calls this directly

Calls 1

optionFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…