test_register_server_requires_command_xor_url

Tests › tests/unit/test_pythonic_facade.py

absent Not in the packaged run: no test report names it.

What this test is for

Why it exists

The test says nothing about why.

Given

  1. fake_handle = ctypes.c_void_p(0xFEED)
→

When

  1. mcp.register_server(fake_handle, name="bad")
  2. mcp.register_server(fake_handle, name="bad", command="cmd", url="http://x")
→

Then

  1. · raises ValueError
  2. · raises ValueError

tests/unit/test_pythonic_facade.py:179 · its file's page

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_requires_command_xor_url→register_server

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_register_server_requires_command_xor_urlregister_serverentropic_register_mcp_serverREQ-ABI-002 · inferredregister_serverentropic_register_mcp_serverREQ-API-005 · inferredregister_serverentropic_register_mcp_serverREQ-MCP-025 · inferredregister_serverentropic_register_mcp_serverresolve_registration_targetREQ-MCP-027 · inferred
Also reaches 4 requirements

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