test_an_ambiguous_suffix_does_not_resolve_to_an_arbitrary_owner¶
Tests › tests/test_qualified_subject.py
What this test is for
Why it exists
THE BOUND ON THE MATCH, and the reason it is a suffix match and not a substring one. A suffix shared by two identities names neither, and answering it would be the arbitrary pick reported as the answer that this module's `also` field exists to prevent.
Given
- —
When
_split_qualified(namespaced, "::monitor_loop")
Then
- ✓ _split_qualified(namespaced, "::monitor_loop") is None
What it exercises
The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.
Look up one name: everything the index holds about it · 14 of 226 steps
… 45 earlier steps
… 78 steps between
… 11 steps between
… 64 later steps
1 more
- Build this wiki from the index · 8 of 400 steps
tests/test_qualified_subject.py:301 · its file's page
What it checks (1)
assert _split_qualified(namespaced, "::monitor_loop") is None, ( "a suffix matching both identities must not resolve to whichever sorted first" )observes_split_qualified
Where the product reaches it
dossier→_qualified_reread→_split_qualified(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 4 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-QUERY-001 measured
- REQ-DDB-QUERY-003 measured
- REQ-DDB-QUERY-010 measured
- REQ-DDB-QUERY-013 measured