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

Function test_export_graphml_creates_file

tests/test_cli_export.py:175–183  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

173# ── graphify export graphml ──────────────────────────────────────────────────
174
175def test_export_graphml_creates_file(tmp_path):
176 _make_graph(tmp_path)
177 r = _run(["export", "graphml"], tmp_path)
178 assert r.returncode == 0, r.stderr
179 gml = tmp_path / "graphify-out" / "graph.graphml"
180 assert gml.exists()
181 assert gml.stat().st_size > 0
182 content = gml.read_text()
183 assert "<graphml" in content
184
185
186# ── graphify export neo4j (cypher) ───────────────────────────────────────────

Callers

nothing calls this directly

Calls 2

_make_graphFunction · 0.70
_runFunction · 0.70

Tested by

no test coverage detected