(self, tmp_path)
| 940 | assert "[[concepts/transformer]]" in text |
| 941 | |
| 942 | def test_no_op_when_all_linked(self, tmp_path): |
| 943 | wiki = tmp_path / "wiki" |
| 944 | summaries = wiki / "summaries" |
| 945 | summaries.mkdir(parents=True) |
| 946 | original = "# Summary\n\n[[concepts/attention]] and [[concepts/transformer]]" |
| 947 | (summaries / "paper.md").write_text(original, encoding="utf-8") |
| 948 | _backlink_summary(wiki, "paper", ["attention", "transformer"]) |
| 949 | assert (summaries / "paper.md").read_text() == original |
| 950 | |
| 951 | def test_skips_if_file_missing(self, tmp_path): |
| 952 | wiki = tmp_path / "wiki" |
nothing calls this directly
no test coverage detected