test_ordinary_toml_is_declined

Tests › tests/test_datamodel.py

passed Passed in the packaged run.

What this test is for

Why it exists

The SUCCESS half is `test_manifest_is_parsed` below; this is the half that pins the gate. `NOT_A_MANIFEST` carries a TOP-LEVEL `classes` list on purpose, so a gate that checked only for that key's presence and its type admits it and this test fails. See the fixture's own note: the first version nested that key and therefore tested nothing.

Given

  1. path = tmp_path / "pyproject.toml"
  2. path.write_text(NOT_A_MANIFEST, encoding="utf-8")
→

When

  1. parse_ingot_manifest(path, tmp_path)
→

Then

  1. ✓ parse_ingot_manifest(path, tmp_path) is None

tests/test_datamodel.py:238 · its file's page

What it checks (1)

  1. assert parse_ingot_manifest(path, tmp_path) is None observes parse_ingot_manifest

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_ordinary_toml_is_declined→parse_ingot_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_ordinary_toml_is_declined · 1 checksparse_ingot_manifestrel_keyREQ-DDB-PIPE-003 · inferredparse_ingot_manifestREQ-DDB-SCHEMA-013 · measured
Also reaches 2 requirements

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