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

Function test_user_agent_product

test/test_settings.py:150–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148
149
150def test_user_agent_product() -> None:
151 original = pygit2.settings.user_agent_product
152 try:
153 pygit2.settings.user_agent_product = 'test-product'
154 assert pygit2.settings.user_agent_product == 'test-product'
155 finally:
156 if original:
157 pygit2.settings.user_agent_product = original
158
159
160def test_pack_max_objects() -> 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…