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

Function test_parse_frontmatter_happy_path

tests/test_skills.py:193–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191
192
193def test_parse_frontmatter_happy_path():
194 text = "---\nname: foo\ndescription: bar\n---\nbody text"
195 meta, body = _parse_frontmatter(text)
196 assert meta == {"name": "foo", "description": "bar"}
197 assert body == "body text"
198
199
200def test_parse_frontmatter_returns_empty_when_no_delim():

Callers

nothing calls this directly

Calls 1

_parse_frontmatterFunction · 0.90

Tested by

no test coverage detected