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

Function _write

tests/test_deck_validator.py:43–47  ·  view source on GitHub ↗
(tmp_path: Path, html: str)

Source from the content-addressed store, hash-verified

41
42
43def _write(tmp_path: Path, html: str) -> Path:
44 deck_dir = tmp_path / "deck"
45 deck_dir.mkdir()
46 (deck_dir / "index.html").write_text(html, encoding="utf-8")
47 return deck_dir
48
49
50def test_good_deck_passes(tmp_path: Path):

Calls

no outgoing calls

Tested by

no test coverage detected