test_a_declaration_is_not_replayed_from_the_record

Tests › tests/test_tiers.py

passed Passed in the packaged run.

What this test is for

Why it exists

The recorded row for a tier-2 win carries no statement, so a later build re-reads the declaration file rather than a frozen copy of it.

Given

  1. db = tmp_path / "clew.db"
  2. args = argparse.Namespace(entry_patterns=None)
→

When

  1. _stamp(db, _entry_patterns(args, {SECTION_ENTRY_PATTERNS: ["%trampoline%"]}))
  2. _recorded_entry_patterns(args, db)
→

Then

  1. ✓ _recorded_entry_patterns(args, db) is None

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

What it checks (1)

  1. assert _recorded_entry_patterns(args, db) is None observes _recorded_entry_patterns

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_declaration_is_not_replayed_from_the_record→_stamp→_entry_patterns→_recorded_entry_patterns

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_declaration_is_not_replayed_from_the_record · 1 checks_entry_patternsstring_listREQ-DDB-CONFIG-001 · measured_stampwrite_build_signatureREQ-DDB-CONFIG-006 · measured_stampwrite_build_signatureREQ-DDB-CONFIG-007 · measured_recorded_entry_patternsmeta_sectionREQ-DDB-MCP-001 · measured_stampwrite_build_signatureREQ-DDB-PIPE-005 · measured
Also reaches 5 requirements

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