test_udm_manifest_without_a_namespace_is_declined

Tests › tests/test_datamodel.py

passed Passed in the packaged run.

What this test is for

Why it exists

WRITTEN BECAUSE A MUTATION CONTROL SAID IT WAS MISSING. Deleting the `namespace` conjunct from the UDM shape gate broke no test, so the conjunct was undefended — and it is load-bearing: with no namespace every composed name would be `_CLASS_KEY`, a leading underscore that matches no generated accessor, so every key in such a document would read as declared-and-never-observed rather than as a document that should not have been read.

Given

  1. path = tmp_path / "nameless.yaml"
  2. path.write_text( "classes:\n - name: telemetry\n data:\n - name: Uptime\n", encoding="utf-8", )
→

When

  1. parse_udm_manifest(path, tmp_path)
→

Then

  1. ✓ parse_udm_manifest(path, tmp_path) is None

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

What it checks (1)

  1. assert parse_udm_manifest(path, tmp_path) is None observes parse_udm_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_udm_manifest_without_a_namespace_is_declined→parse_udm_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_udm_manifest_without_a_namespace_is_declined · 1 checksparse_udm_manifestrel_keyREQ-DDB-PIPE-003 · inferredparse_udm_manifestREQ-DDB-SCHEMA-013 · measured
Also reaches 2 requirements

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