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

Function test_missing_closing

tests/test_deck_validator.py:99–102  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

97
98
99def test_missing_closing(tmp_path: Path):
100 html = GOOD_DECK.replace('data-type="closing"', 'data-type="thesis"')
101 result = validate_deck(_write(tmp_path, html), grammar=EDITORIAL_MONOCLE_GRAMMAR)
102 assert any('"closing"' in e for e in result.errors)
103
104
105def test_unknown_data_type(tmp_path: Path):

Callers

nothing calls this directly

Calls 2

validate_deckFunction · 0.90
_writeFunction · 0.85

Tested by

no test coverage detected