test_the_server_holds_no_set_target_tool

Tests › tests/test_mcp_server.py

passed Passed in the packaged run.

What this test is for

Why it exists

The tool is GONE, asserted by name rather than inferred from TIER0.

Verifies REQ-DDB-MCP-001 REQ-DDB-MCP-003 REQ-DDB-QUERY-006 REQ-DDB-QUERY-008 REQ-DDB-QUERY-009

Given

  1. _mcp, state = server
→

When

  1. —
→

Then

  1. ✓ TIER0 does not contain "set_target"
  2. ✓ hasattr(state, "set_target") is false
  3. ✓ hasattr(state, "pinned") is false

tests/test_mcp_server.py:2497 · its file's page

What it checks (3)

  1. assert "set_target" not in TIER0 not attributed
  2. assert not hasattr(state, "set_target"), "the method must go with the tool" not attributed
  3. assert not hasattr(state, "pinned"), "and so must the pin flag it branched on" 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 (5)

requirementlinked byimplementers exercised
REQ-DDB-MCP-001catalogunknown
REQ-DDB-MCP-003catalogunknown
REQ-DDB-QUERY-006catalogunknown
REQ-DDB-QUERY-008catalogunknown
REQ-DDB-QUERY-009catalogunknown