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

Function test_external_link_blocks

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

Source from the content-addressed store, hash-verified

133
134
135def test_external_link_blocks(tmp_path: Path):
136 html = GOOD_DECK.replace(
137 "</head>",
138 '<link rel="stylesheet" href="https://cdn.example/x.css"></head>',
139 )
140 result = validate_deck(_write(tmp_path, html))
141 assert any("not self-contained" in e for e in result.errors)
142
143
144def test_external_script_blocks(tmp_path: Path):

Callers

nothing calls this directly

Calls 2

validate_deckFunction · 0.90
_writeFunction · 0.85

Tested by

no test coverage detected