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

Function test_add_aspath

test/test_config.py:97–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95
96
97def test_add_aspath() -> None:
98 with open(CONFIG_FILENAME, 'w') as new_file:
99 new_file.write('[this]\n\tthat = true\n')
100
101 config = Config()
102 config.add_file(Path(CONFIG_FILENAME), 0)
103 assert 'this.that' in config
104
105
106def test_read(config: Config) -> None:

Callers

nothing calls this directly

Calls 3

add_fileMethod · 0.95
ConfigClass · 0.90
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…