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

Function test_iterator

test/test_config.py:178–185  ·  view source on GitHub ↗
(config: Config)

Source from the content-addressed store, hash-verified

176
177
178def test_iterator(config: Config) -> None:
179 lst = {}
180 for entry in config:
181 assert entry.level > -1
182 lst[entry.name] = entry.value
183
184 assert 'core.bare' in lst
185 assert lst['core.bare']
186
187
188def test_valueless_key_iteration() -> 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…