(tmp_path: Path)
| 134 | |
| 135 | |
| 136 | def 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 | |
| 142 | def _two_file_graph() -> nx.DiGraph: |
nothing calls this directly
no test coverage detected