test_none_serializes_to_none¶
Tests › tests/test_wire.py
What this test is for
Why it exists
Every MCP wrapper over an optional R2 result depends on this: a missing symbol is a null payload, not an exception and not an empty dict.
Given
- —
When
wire.one(None)
Then
- ✓ wire.one(None) is None
What it exercises
The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.
Look up one name: everything the index holds about it · 2 of 226 steps
… 27 earlier steps
… 193 later steps
2 more
- clew — `main` (clew/cli.py) · 2 of 400 steps
- `main` (scripts/export_parity.py) · 2 of 203 steps
tests/test_wire.py:199 · its file's page
What it checks (1)
assert wire.one(None) is Noneobservesone
Where the product reaches it
dossier→subject_payload→_flatten_subject→one(flow)
Call flow
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.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-QUERY-001 measured