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

Function test_good_deck_passes

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

Source from the content-addressed store, hash-verified

48
49
50def test_good_deck_passes(tmp_path: Path):
51 result = validate_deck(_write(tmp_path, GOOD_DECK))
52 assert isinstance(result, ValidationResult)
53 assert result.errors == []
54 # 8 slides is on the inside of [8,15] so no slide-count warning
55 assert not any("slide count" in w.lower() for w in result.warnings)
56
57
58def test_allowed_data_types_constant():

Callers

nothing calls this directly

Calls 2

validate_deckFunction · 0.90
_writeFunction · 0.85

Tested by

no test coverage detected