test_a_declaration_is_not_replayed_from_the_record¶
Tests › tests/test_tiers.py
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
db = tmp_path / "clew.db"args = argparse.Namespace(entry_patterns=None)
When
_stamp(db, _entry_patterns(args, {SECTION_ENTRY_PATTERNS: ["%trampoline%"]}))_recorded_entry_patterns(args, db)
Then
- ✓ _recorded_entry_patterns(args, db) is None
tests/test_tiers.py:475 · its file's page
What it checks (1)
assert _recorded_entry_patterns(args, db) is Noneobserves_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_patternsWhat 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 5 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-CONFIG-001 measured
- REQ-DDB-CONFIG-006 measured
- REQ-DDB-CONFIG-007 measured
- REQ-DDB-MCP-001 measured
- REQ-DDB-PIPE-005 measured