test_section_cards_carry_an_icon

Tests › tests/test_wiki_site.py

passed Passed in the packaged run.

What this test is for

Given

  1. —
→

When

  1. svg = icon("requirements")
  2. icon("nope")
→

Then

  1. ✓ svg.startswith("<svg") holds
  2. ✓ svg contains 'aria-hidden="true"'
  3. ✓ svg contains "currentColor"
  4. ✓ raises KeyError

tests/test_wiki_site.py:616 · its file's page

What it checks (1)

  1. assert svg.startswith("<svg") and 'aria-hidden="true"' in svg and "currentColor" in svg observes icon via svg

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_section_cards_carry_an_icon→icon

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.

Requirements it verifies (15)

requirementlinked byimplementers exercised
REQ-DDB-WIKI-011catalogunknown
REQ-DDB-WIKI-012catalogunknown
REQ-DDB-WIKI-013catalogunknown
REQ-DDB-WIKI-014catalogunknown
REQ-DDB-WIKI-015catalogunknown
REQ-DDB-WIKI-018catalogunknown
REQ-DDB-WIKI-020catalogunknown
REQ-DDB-WIKI-021catalogunknown
REQ-DDB-WIKI-022catalogunknown
REQ-DDB-WIKI-023catalogunknown
REQ-DDB-WIKI-025catalogunknown
REQ-DDB-WIKI-031catalogunknown
REQ-DDB-WIKI-044catalogunknown
REQ-DDB-WIKI-050catalogunknown
REQ-DDB-WIKI-052catalogunknown