test_lookup_class_unknown_is_none

Tests › tests/test_query.py

passed Passed in the packaged run.

What this test is for

Why it exists

The test says nothing about why.

Verifies REQ-DDB-QUERY-002

Given

  1. —
→

When

  1. q.lookup_class(_class_db(tmp_path), "NoSuchClass")
→

Then

  1. ✓ q.lookup_class(_class_db(tmp_path), "NoSuchClass") is None

tests/test_query.py:1351 · its file's page

What it checks (1)

  1. assert q.lookup_class(_class_db(tmp_path), "NoSuchClass") is None observes lookup_class

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_lookup_class_unknown_is_none→lookup_class→_class_db

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_lookup_class_unknown_is_none · 1 checkslookup_classREQ-DDB-QUERY-001 · measuredlookup_classtable_existsREQ-DDB-QUERY-003 · measuredlookup_classREQ-DDB-QUERY-010 · measured

Requirements it verifies (1)

requirementlinked byimplementers exercised
REQ-DDB-QUERY-002catalogunknown
Also reaches 3 requirements

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