test_non_string_description_is_refused¶
Tests › tests/test_descriptions.py
What this test is for
Why it exists
Covers the absent case too: `description` missing entirely arrives here as None, and must not join to an empty string.
Given
_redirect(monkeypatch, tmp_path)_put(tmp_path, "dossier", {"tool": "dossier", "description": [1, 2]})
When
d.load_descriptions()_put(tmp_path, "dossier", {"tool": "dossier", "priority": 1})d.load_descriptions()
Then
- ✓ raises ValueError
- ✓ raises ValueError
tests/test_descriptions.py:343 · 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
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 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-MCP-001 measured
- REQ-DDB-WIKI-054 inferred