test_the_mermaid_lexer_is_registered_as_plain_text

Tests › tests/test_wiki_prose_assets.py

passed Passed in the packaged run.

What this test is for

Why it exists

```mermaid fences highlight as text instead of warning (9 warnings in clew's build).

Given

  1. added: dict = {}
  2. app = SimpleNamespace( add_domain=lambda d: None, add_lexer=lambda name, lexer: added.setdefault(name, lexer) )
→

When

  1. _sphinxsymbols.setup(app)
→

Then

  1. ✓ added contains "mermaid"

tests/test_wiki_prose_assets.py:81 · its file's page

What it checks (1)

  1. assert "mermaid" in added not 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

test_the_mermaid_lexer_is_registered_as_plain_text→setup

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.

test_the_mermaid_lexer_is_registered_as_plain_text · 1 checkssetup_keep_bodies_out_of_searchREQ-DDB-WIKI-022 · measuredsetupREQ-DDB-WIKI-025 · measured
Also reaches 2 requirements

Its run touches their code; that is reach, not proof.