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

Function test_cache_object_limit

test/test_settings.py:104–110  ·  view source on GitHub ↗
(
    object_type: ObjectType, test_size: int, default_size: int
)

Source from the content-addressed store, hash-verified

102 ],
103)
104def test_cache_object_limit(
105 object_type: ObjectType, test_size: int, default_size: int
106) -> None:
107 assert callable(pygit2.settings.cache_object_limit)
108
109 pygit2.settings.cache_object_limit(object_type, test_size)
110 pygit2.settings.cache_object_limit(object_type, default_size)
111
112
113@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

cache_object_limitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…