test_a_manifest_file_that_is_not_a_mapping_refuses_the_build

Tests › tests/test_dispatch.py

passed Passed in the packaged run.

What this test is for

Why it exists

A YAML list (or scalar) where a mapping belongs is refused.

Given

  1. path = tmp_path / "dispatch.yaml"
  2. path.write_text("- interface: ILinkPort\n", encoding="utf-8")
→

When

  1. load_dispatch_manifest(path)
→

Then

  1. ✓ raises DeclarationError

tests/test_dispatch.py:884 · its file's page

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_manifest_file_that_is_not_a_mapping_refuses_the_build→load_dispatch_manifest

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_manifest_file_that_is_not_a_mapping_refuses_the_buildload_dispatch_manifestREQ-DDB-SCHEMA-004 · measuredload_dispatch_manifestdeclaration_originREQ-DDB-SCHEMA-012 · inferred
Also reaches 2 requirements

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