test_registration_calls_are_isr_entries¶
Tests › tests/test_isr.py
What this test is for
Why it exists
THE SHIPPED SET, not a declaration. The acceptance targets for this feature build with `declare: {}` on purpose — a rubric that declares the patterns grades the declaration, not the index — so an ISR spelling that is declarable-only contributes nothing where it counts.
Given
sites = _sites(_REGISTRATIONS)found = {site[ENTRY]: site[KIND] for site in sites}for entry in ( "timer_isr", "dma_isr", "gpio_isr", "hard_isr", "on_int", "expiry", "button_pressed", ): assert entry in found, f"{entry} must be harvested as an interrupt entry; got {found}" assert found[entry] == "isr", ( f"{entry} runs in interrupt context, got kind {found[entry]!r}" )
When
- —
Then
- —
tests/test_isr.py:70 · its file's page
What it checks (2)
assert entry in found, f"{entry} must be harvested as an interrupt entry; got {found}"not attributedassert found[entry] == "isr", ( f"{entry} runs in interrupt context, got kind {found[entry]!r}" )not attributed
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_registration_calls_are_isr_entries→_sitesWhat 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 3 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-PIPE-003 measured
- REQ-DDB-SCHEMA-001 measured
- REQ-DDB-SCHEMA-012 inferred