test_markup_is_still_removed

Tests › tests/test_strip_xml.py

passed Passed in the packaged run.

What this test is for

Why it exists

The ordinary case is unchanged: tags become spaces, runs collapse.

Given

  1. —
→

When

  1. strip_xml('<para>See <ref refid="x">f</ref>.</para><para>Next.</para>')
  2. strip_xml(None)
→

Then

  1. ✓ strip_xml('<para>See <ref refid="x">f</ref>.</para><para>Next.</para>') equals "See f . Next."
  2. ✓ strip_xml(None) equals ""

tests/test_strip_xml.py:45 · its file's page

What it checks (2)

  1. assert ( strip_xml('<para>See <ref refid="x">f</ref>.</para><para>Next.</para>') == "See f . Next." ) observes strip_xml
  2. assert strip_xml(None) == "" observes strip_xml

Where the product reaches it

  • build_wiki → _build_site → test_pages → _briefs → strip_xml (flow)

Call flow

test_markup_is_still_removed→strip_xml

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_markup_is_still_removed · 2 checksstrip_xmlREQ-DDB-QUERY-003 · measured
Also reaches 1 requirement

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