test_the_server_holds_no_set_target_tool¶
Tests › tests/test_mcp_server.py
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
_mcp, state = server
When
- —
Then
- ✓ TIER0 does not contain "set_target"
- ✓ hasattr(state, "set_target") is false
- ✓ hasattr(state, "pinned") is false
tests/test_mcp_server.py:2497 · its file's page
What it checks (3)
assert "set_target" not in TIER0not attributedassert not hasattr(state, "set_target"), "the method must go with the tool"not attributedassert 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)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-MCP-001 | catalog | unknown |
| REQ-DDB-MCP-003 | catalog | unknown |
| REQ-DDB-QUERY-006 | catalog | unknown |
| REQ-DDB-QUERY-008 | catalog | unknown |
| REQ-DDB-QUERY-009 | catalog | unknown |