MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / write_file

Function write_file

tests/test_src_layout_import_resolution.py:167–170  ·  view source on GitHub ↗
(path: Path, content: str)

Source from the content-addressed store, hash-verified

165def test_ambiguous_absolute_from_import_does_not_bind_symbols_or_calls(tmp_path):
166 """An importer-relative hit must not bypass corpus-wide module ambiguity."""
167 def write_file(path: Path, content: str) -> Path:
168 path.parent.mkdir(parents=True, exist_ok=True)
169 path.write_text(content, encoding="utf-8")
170 return path
171
172 paths = []
173 for sub in ("a", "b"):

Calls

no outgoing calls

Tested by

no test coverage detected