test_registration_calls_are_isr_entries

Tests › tests/test_isr.py

passed Passed in the packaged run.

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

  1. sites = _sites(_REGISTRATIONS)
  2. found = {site[ENTRY]: site[KIND] for site in sites}
  3. 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

  1. —
→

Then

  1. —

tests/test_isr.py:70 · its file's page

What it checks (2)

  1. assert entry in found, f"{entry} must be harvested as an interrupt entry; got {found}" not attributed
  2. assert 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→_sites

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_registration_calls_are_isr_entries · 2 checks_sites_walk_spawn_sitesis_python_treeREQ-DDB-PIPE-003 · measured_sitesload_thread_patternsREQ-DDB-SCHEMA-001 · measured_sitesload_thread_patternsdeclaration_originREQ-DDB-SCHEMA-012 · inferred
Also reaches 3 requirements

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