test_the_tool_clause_names_exactly_what_the_server_serves

Tests › tests/test_docs_current.py

passed Passed in the packaged run.

What this test is for

Why it exists

Generated from the description files the server loads: tools, then prompts.

Given

  1. sys.path.insert(0, str(REPO / "scripts"))
→

When

  1. clause = tools_clause()
  2. for name in (*TIER1_TOOLS, *TIER0_TOOLS, *PROMPTS): assert f"`{name}`" in clause, name
→

Then

  1. ✓ clause.replace("three", "3") contains f"{len(TIER1_TOOLS) + len(TIER0_TOOLS)} tools"

tests/test_docs_current.py:25 · its file's page

What it checks (2)

  1. assert f"`{name}`" in clause, name observes tools_clause via clause
  2. assert f"{len(TIER1_TOOLS) + len(TIER0_TOOLS)} tools" in clause.replace("three", "3") observes tools_clause via clause

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

test_the_tool_clause_names_exactly_what_the_server_serves→tools_clause

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.

test_the_tool_clause_names_exactly_what_the_server_serves · 2 checkstools_clauseload_descriptionsREQ-DDB-MCP-001 · measuredtools_clause… 3 calls …allREQ-DDB-WIKI-054 · inferred
Also reaches 2 requirements

Its run touches their code; that is reach, not proof.