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

Function test_rationale_comment_extracted

tests/test_rationale.py:48–56  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

46
47
48def test_rationale_comment_extracted(tmp_path):
49 path = _write_py(tmp_path, '''
50 def build():
51 # NOTE: must run before compile() or linker will fail
52 pass
53 ''')
54 result = extract_python(path)
55 rationale = [n for n in result["nodes"] if n.get("file_type") == "rationale"]
56 assert any("NOTE" in n["label"] for n in rationale)
57
58
59def test_rationale_for_edges_present(tmp_path):

Callers

nothing calls this directly

Calls 3

extract_pythonFunction · 0.90
_write_pyFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected