test_markup_is_still_removed¶
Tests › tests/test_strip_xml.py
What this test is for
Why it exists
The ordinary case is unchanged: tags become spaces, runs collapse.
Given
- —
When
strip_xml('<para>See <ref refid="x">f</ref>.</para><para>Next.</para>')strip_xml(None)
Then
- ✓ strip_xml('<para>See <ref refid="x">f</ref>.</para><para>Next.</para>') equals "See f . Next."
- ✓ strip_xml(None) equals ""
tests/test_strip_xml.py:45 · its file's page
What it checks (2)
assert ( strip_xml('<para>See <ref refid="x">f</ref>.</para><para>Next.</para>') == "See f . Next." )observesstrip_xmlassert strip_xml(None) == ""observesstrip_xml
Where the product reaches it
build_wiki→_build_site→test_pages→_briefs→strip_xml(flow)
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 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-QUERY-003 measured