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

Function test_cache_max_size_proxy

test/test_options.py:104–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102
103
104def test_cache_max_size_proxy() -> None:
105 pygit2.settings.cache_max_size(128 * 1024**2)
106 assert pygit2.settings.cached_memory[1] == 128 * 1024**2
107 pygit2.settings.cache_max_size(256 * 1024**2)
108 assert pygit2.settings.cached_memory[1] == 256 * 1024**2
109
110
111def test_search_path() -> None:

Callers

nothing calls this directly

Calls 1

cache_max_sizeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…