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

Function test_homedir

test/test_settings.py:189–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187
188
189def test_homedir() -> None:
190 original = pygit2.settings.homedir
191 try:
192 pygit2.settings.homedir = '/tmp/test_home'
193 assert pygit2.settings.homedir == '/tmp/test_home'
194 finally:
195 if original:
196 pygit2.settings.homedir = original
197
198
199def test_server_timeouts() -> 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…