MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / test_keeps_direct_match

Method test_keeps_direct_match

tests/test_lint.py:419–425  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

417
418class 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(

Callers

nothing calls this directly

Calls 1

strip_ghost_wikilinksFunction · 0.90

Tested by

no test coverage detected