test_a_dot_identifier_is_quoted_and_escaped

Tests › tests/test_wiki_exports.py

passed Passed in the packaged run.

What this test is for

Why it exists

A name with a quote or backslash cannot break the DOT file.

Verifies REQ-DDB-WIKI-029

Given

  1. —
→

When

  1. _dot_id('a"b\\c')
→

Then

  1. ✓ _dot_id('a"b\\c') equals '"a\\"b\\\\c"'

tests/test_wiki_exports.py:113 · its file's page

What it checks (1)

  1. assert _dot_id('a"b\\c') == '"a\\"b\\\\c"' observes _dot_id

Where the product reaches it

  • build_wiki → _build_site → flow_page → _diagram_exports → flow_dot → _dot_id (flow)

Call flow

test_a_dot_identifier_is_quoted_and_escaped→_dot_id

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 (1)

requirementlinked byimplementers exercised
REQ-DDB-WIKI-029catalogunknown