test_a_target_declaring_no_alias_prefixes_gets_the_ingot_defaults

Tests › tests/test_tiers.py

passed Passed in the packaged run.

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

  1. —
→

When

  1. resolved = resolve_key_alias_prefixes(None)
→

Then

  1. ✓ resolved.values equals DEFAULT_KEY_ALIAS_PREFIXES
  2. ✓ resolved.tier equals TIER_HEURISTIC
  3. ✓ resolved.stated equals ()

tests/test_tiers.py:258 · its file's page

What it checks (3)

  1. assert resolved.values == DEFAULT_KEY_ALIAS_PREFIXES observes resolve_key_alias_prefixes via resolved
  2. assert resolved.tier == TIER_HEURISTIC observes resolve_key_alias_prefixes via resolved
  3. assert resolved.stated == () observes resolve_key_alias_prefixes via resolved

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_a_target_declaring_no_alias_prefixes_gets_the_ingot_defaults→resolve_key_alias_prefixes

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_a_target_declaring_no_alias_prefixes_gets_the_ingot_defaults · 3 checksresolve_key_alias_prefixesREQ-DDB-CONFIG-006 · measuredresolve_key_alias_prefixesREQ-DDB-SCHEMA-005 · measured
Also reaches 2 requirements

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