test_the_mermaid_lexer_is_registered_as_plain_text¶
Tests › tests/test_wiki_prose_assets.py
What this test is for
Why it exists
```mermaid fences highlight as text instead of warning (9 warnings in clew's build).
Given
added: dict = {}app = SimpleNamespace( add_domain=lambda d: None, add_lexer=lambda name, lexer: added.setdefault(name, lexer) )
When
_sphinxsymbols.setup(app)
Then
- ✓ added contains "mermaid"
tests/test_wiki_prose_assets.py:81 · its file's page
What it checks (1)
assert "mermaid" in addednot attributed
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
What it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-022 measured
- REQ-DDB-WIKI-025 measured