(tmp_path)
| 46 | |
| 47 | |
| 48 | def 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 | |
| 59 | def test_rationale_for_edges_present(tmp_path): |
nothing calls this directly
no test coverage detected