test_a_uniquely_named_MEMBER_callee_does_NOT_resolve¶
Tests › tests/test_critical_sections.py
What this test is for
Why it exists
A UNIQUE NAME IS NOT EVIDENCE ABOUT A RECEIVER — `fd384e5` applied that to `ast_member` call edges and this resolver did not follow, so the defect survived here.
Given
conn = _section_db()
When
insert_section_calls(conn, 1, [["store", 181, False]], {"store": [42]})
Then
- ✓ conn.execute( "SELECT callee_rowid, resolution FROM critical_section_calls" ).fetchone() equals (42, SECTION_MATCH_RECEIVER_UNVERIFIED)
tests/test_critical_sections.py:376 · its file's page
What it checks (1)
assert conn.execute( "SELECT callee_rowid, resolution FROM critical_section_calls" ).fetchone() == (42, SECTION_MATCH_RECEIVER_UNVERIFIED), ( "a member call keeps its rowid but must NOT claim the receiver was verified" )observes_section_dbviaconn
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-SCHEMA-011 measured
- REQ-DDB-SCHEMA-012 measured