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

Method test_reads_description_field

tests/test_compiler.py:643–651  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

641 assert "- old: Old concept without brief field." in result
642
643 def test_reads_description_field(self, tmp_path):
644 wiki = tmp_path / "wiki"
645 concepts = wiki / "concepts"
646 concepts.mkdir(parents=True)
647 (concepts / "attention.md").write_text(
648 '---\nsources: ["p.pdf"]\ndescription: "Selective focus"\n---\n\n# A\n',
649 encoding="utf-8",
650 )
651 assert "- attention: Selective focus" in _read_concept_briefs(wiki)
652
653
654class TestReadEntityBriefs:

Callers

nothing calls this directly

Calls 1

_read_concept_briefsFunction · 0.90

Tested by

no test coverage detected