test_cli_command_word_matches_the_command¶
Tests › tests/test_init.py
What this test is for
Why it exists
`cli.py` spells the word rather than importing the module, so that a build invocation never drags `init`'s import graph in. That duplication is only safe while something pins the two together.
Verifies REQ-DDB-CLI-002
Given
- —
When
- —
Then
- ✓ cli.INIT_COMMAND == init_command.COMMAND == "init" holds
tests/test_init.py:1306 · its file's page
What it checks (1)
assert cli.INIT_COMMAND == init_command.COMMAND == "init"not attributed
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.
Requirements it verifies (1)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-CLI-002 | catalog | unknown |