test_a_bare_string_is_not_accepted_as_a_list¶
Tests › tests/test_buildoptions.py
What this test is for
Why it exists
`list("app_main")` is eight single-character entry patterns, every one of which matches nothing — a policy that is silently and completely wrong while looking populated.
Verifies REQ-DDB-CONFIG-008
Given
- —
When
bo.apply_options(_args(), {"entry_patterns": "app_main"}, Path("/repo"))
Then
- ✓ raises bo.BuildOptionError
tests/test_buildoptions.py:151 · 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
test_a_bare_string_is_not_accepted_as_a_list→apply_options→_argsWhat 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.
Requirements it verifies (1)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-CONFIG-008 | catalog | unknown |