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

Function test_code_node_is_refused

tests/test_markdown_sections.py:136–139  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

134
135
136def test_code_node_is_refused(tmp_path: Path) -> None:
137 node = {"label": "fn", "file_type": "code", "source_file": "x.py", "source_location": "L1"}
138 section, reason = read_section(node, tmp_path)
139 assert section is None and "not a Markdown" in reason
140
141
142def _two_file_graph() -> nx.DiGraph:

Callers

nothing calls this directly

Calls 1

read_sectionFunction · 0.90

Tested by

no test coverage detected