test_cli_command_word_matches_the_command

Tests › tests/test_init.py

passed Passed in the packaged run.

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

  1. —
→

When

  1. —
→

Then

  1. ✓ cli.INIT_COMMAND == init_command.COMMAND == "init" holds

tests/test_init.py:1306 · its file's page

What it checks (1)

  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)

requirementlinked byimplementers exercised
REQ-DDB-CLI-002catalogunknown