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

Method test_fenced_dict

tests/test_compiler.py:103–107  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101 assert isinstance(parsed, list)
102
103 def test_fenced_dict(self):
104 text = '```json\n{"create": [], "update": [], "related": []}\n```'
105 parsed = _parse_json(text)
106 assert isinstance(parsed, dict)
107 assert parsed["create"] == []
108
109
110class TestParseEntitiesPlan:

Callers

nothing calls this directly

Calls 1

_parse_jsonFunction · 0.90

Tested by

no test coverage detected