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

Function test_owner_validation

test/test_settings.py:169–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167
168
169def test_owner_validation() -> None:
170 original = pygit2.settings.owner_validation
171 try:
172 pygit2.settings.owner_validation = False
173 assert pygit2.settings.owner_validation == False # noqa: E712
174 pygit2.settings.owner_validation = True
175 assert pygit2.settings.owner_validation == True # noqa: E712
176 finally:
177 pygit2.settings.owner_validation = original
178
179
180def test_mwindow_file_limit() -> 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…