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

Function test_template_path

test/test_settings.py:130–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128
129
130def test_template_path() -> None:
131 original = pygit2.settings.template_path
132 try:
133 pygit2.settings.template_path = '/tmp/test_templates'
134 assert pygit2.settings.template_path == '/tmp/test_templates'
135 finally:
136 if original:
137 pygit2.settings.template_path = original
138
139
140def test_user_agent() -> 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…