(self)
| 417 | |
| 418 | class TestStripGhostWikilinks: |
| 419 | def test_keeps_direct_match(self): |
| 420 | out, ghosts = strip_ghost_wikilinks( |
| 421 | "See [[concepts/attention]] for details.", |
| 422 | {"concepts/attention"}, |
| 423 | ) |
| 424 | assert out == "See [[concepts/attention]] for details." |
| 425 | assert ghosts == [] |
| 426 | |
| 427 | def test_strips_unknown_target(self): |
| 428 | out, ghosts = strip_ghost_wikilinks( |
nothing calls this directly
no test coverage detected