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

Function test_search_path

test/test_settings.py:121–127  ·  view source on GitHub ↗
(level: ConfigLevel, test_path: str)

Source from the content-addressed store, hash-verified

119 ],
120)
121def test_search_path(level: ConfigLevel, test_path: str) -> None:
122 original = pygit2.settings.search_path[level]
123 try:
124 pygit2.settings.search_path[level] = test_path
125 assert pygit2.settings.search_path[level] == test_path
126 finally:
127 pygit2.settings.search_path[level] = original
128
129
130def test_template_path() -> 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…