(tmp_path: Path)
| 97 | |
| 98 | |
| 99 | def 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 | |
| 105 | def test_unknown_data_type(tmp_path: Path): |
nothing calls this directly
no test coverage detected