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

Function test_function_docstring_extracted

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

Source from the content-addressed store, hash-verified

24
25
26def test_function_docstring_extracted(tmp_path):
27 path = _write_py(tmp_path, '''
28 def process():
29 """We use chunked processing here because the full dataset exceeds RAM."""
30 pass
31 ''')
32 result = extract_python(path)
33 rationale = [n for n in result["nodes"] if n.get("file_type") == "rationale"]
34 assert any("chunked" in n["label"] for n in rationale)
35
36
37def test_class_docstring_extracted(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