test_register_server_url_path_uses_sse_transport¶
Tests › tests/unit/test_pythonic_facade.py
What this test is for
Why it exists
The test says nothing about why.
Given
fake_handle = ctypes.c_void_p(0xFEED)
When
mcp.register_server(fake_handle, name="remote", url="https://x.example/sse")config = json.loads(_bindings.entropic_register_mcp_server.call_args.args[2].decode("utf-8"))
Then
- · config["transport"] equals "sse"
- · config["url"] equals "https://x.example/sse"
- · config["command"] equals ""
tests/unit/test_pythonic_facade.py:212 · its file's page
What it checks (3)
assert config["transport"] == "sse"not attributedassert config["url"] == "https://x.example/sse"not attributedassert config["command"] == ""not attributed
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_register_server_url_path_uses_sse_transport→register_serverWhat 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.
Also reaches 4 requirements
Its run touches their code; that is reach, not proof.
- REQ-ABI-002 inferred
- REQ-API-005 inferred
- REQ-MCP-025 inferred
- REQ-MCP-027 inferred