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

Function test_disable_pack_keep_file_checks

test/test_settings.py:73–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71
72
73def test_disable_pack_keep_file_checks() -> None:
74 assert hasattr(pygit2.settings, 'disable_pack_keep_file_checks')
75 assert callable(pygit2.settings.disable_pack_keep_file_checks)
76
77 # Should not raise exceptions
78 pygit2.settings.disable_pack_keep_file_checks(False)
79 pygit2.settings.disable_pack_keep_file_checks(True)
80 pygit2.settings.disable_pack_keep_file_checks(False)
81
82
83def test_cache_max_size() -> None:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…