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

Function test_user_agent_product

test/test_options.py:250–258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

248
249
250def test_user_agent_product() -> None:
251 original_product = option(Option.GET_USER_AGENT_PRODUCT)
252
253 test_product = 'test-product'
254 option(Option.SET_USER_AGENT_PRODUCT, test_product)
255 assert option(Option.GET_USER_AGENT_PRODUCT) == test_product
256
257 if original_product:
258 option(Option.SET_USER_AGENT_PRODUCT, original_product)
259
260
261def test_mwindow_file_limit() -> 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…