tests.sphinx.test_sphinx_tables moduleΒΆ

Tests for the styling of corner-labeled tables.

tests.sphinx.test_sphinx_tables.test_corner_tables_keep_their_first_column_whole(sphinx_app_myst)[source]ΒΆ

Only a table whose first header cell holds the corner label is marked.

The glyph in any other header cell marks nothing, and every page links the stylesheet the mark hooks into.

Return type:

None

tests.sphinx.test_sphinx_tables.test_matrix_cells_are_tinted_by_state(sphinx_app_myst)[source]ΒΆ

A state glyph alone in a body cell of a corner table marks that cell.

A glyph next to other text marks nothing, and nor does a glyph in a table without a corner label.

Return type:

None

tests.sphinx.test_sphinx_tables.test_every_state_has_a_tint(glyph)[source]ΒΆ

Each cell state of a matrix maps to a class the stylesheet tints.

Return type:

None