A third-party deck (no data-type, uses CSS class for kind) must pass the default (skill-agnostic) validator. Confirms #2 in the architectural-review fix list.
(tmp_path: Path)
| 115 | |
| 116 | |
| 117 | def test_guizang_shape_passes_generic_mode(tmp_path: Path): |
| 118 | """A third-party deck (no data-type, uses CSS class for kind) must |
| 119 | pass the default (skill-agnostic) validator. Confirms #2 in the |
| 120 | architectural-review fix list.""" |
| 121 | guizang_shape = ( |
| 122 | "<html><body>" |
| 123 | '<section class="slide hero active"><h1>Cover</h1></section>' |
| 124 | '<section class="slide act inverse"><h1>Act 1</h1></section>' |
| 125 | '<section class="slide grid6"><div>Numbers</div></section>' |
| 126 | '<section class="slide two-col"><div>L</div><div>R</div></section>' |
| 127 | '<section class="slide q inverse"><h2>?</h2></section>' |
| 128 | '<section class="slide hero inverse"><h1>Close</h1></section>' |
| 129 | "</body></html>" |
| 130 | ) |
| 131 | result = validate_deck(_write(tmp_path, guizang_shape)) |
| 132 | assert result.errors == [], f"unexpected errors: {result.errors}" |
| 133 | |
| 134 | |
| 135 | def test_external_link_blocks(tmp_path: Path): |
nothing calls this directly
no test coverage detected