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

Function test_parsing

test/test_config.py:217–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215
216
217def test_parsing() -> None:
218 assert Config.parse_bool('on')
219 assert Config.parse_bool('1')
220
221 assert 5 == Config.parse_int('5')
222 assert 1024 == Config.parse_int('1k')

Callers

nothing calls this directly

Calls 2

parse_boolMethod · 0.80
parse_intMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…