test_a_target_declaring_no_alias_prefixes_gets_the_ingot_defaults¶
Tests › tests/test_tiers.py
What this test is for
Why it exists
THE SUCCESS PATH. The equivalent of the entry-pattern control that catches the inverse failure — a rule that protects the defaults by dropping everything else, or one that resolves to nothing at all when no declaration exists.
Given
- —
When
resolved = resolve_key_alias_prefixes(None)
Then
- ✓ resolved.values equals DEFAULT_KEY_ALIAS_PREFIXES
- ✓ resolved.tier equals TIER_HEURISTIC
- ✓ resolved.stated equals ()
tests/test_tiers.py:258 · its file's page
What it checks (3)
assert resolved.values == DEFAULT_KEY_ALIAS_PREFIXESobservesresolve_key_alias_prefixesviaresolvedassert resolved.tier == TIER_HEURISTICobservesresolve_key_alias_prefixesviaresolvedassert resolved.stated == ()observesresolve_key_alias_prefixesviaresolved
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
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 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-CONFIG-006 measured
- REQ-DDB-SCHEMA-005 measured