test_blocking_checks_are_only_the_write_invalidating_ones

Tests › tests/test_init.py

passed Passed in the packaged run.

What this test is for

Why it exists

Pinned because the set is the whole three-tier design in one constant. Adding `doxygen` here would make a missing binary withhold the registration — the "run it twice" outcome the tiers exist to avoid — and removing `server-command` would let a config name a command that does not exist.

Verifies REQ-DDB-CLI-002

Given

  1. —
→

When

  1. —
→

Then

  1. ✓ init_command.BLOCKING_CHECKS equals frozenset( {init_command.CHECK_CLIENT_CONFIG, init_command.CHECK_SERVER_COMMAND} )
  2. ✓ init_command.BLOCKING_CHECKS does not contain init_command.CHECK_DOXYGEN
  3. ✓ init_command.BLOCKING_CHECKS does not contain init_command.CHECK_MCP_SDK
  4. ✓ init_command.BLOCKING_CHECKS does not contain init_command.CHECK_DECLARATION

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

What it checks (4)

  1. assert init_command.BLOCKING_CHECKS == frozenset( {init_command.CHECK_CLIENT_CONFIG, init_command.CHECK_SERVER_COMMAND} ) not attributed
  2. assert init_command.CHECK_DOXYGEN not in init_command.BLOCKING_CHECKS not attributed
  3. assert init_command.CHECK_MCP_SDK not in init_command.BLOCKING_CHECKS not attributed
  4. assert init_command.CHECK_DECLARATION not in init_command.BLOCKING_CHECKS, ( "an undeclared repo is the ordinary starting state and must never withhold the registration" ) 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