(tmp_path)
| 142 | |
| 143 | |
| 144 | def test_custom_mount_path(tmp_path): |
| 145 | app = serve_mod._build_http_app(_graph_file(tmp_path), path="/graph", json_response=True) |
| 146 | with _client(app) as client: |
| 147 | ok = client.post("/graph", headers=_MCP_HEADERS, json=_INIT_BODY) |
| 148 | assert ok.status_code == 200 |
| 149 | missing = client.post("/mcp", headers=_MCP_HEADERS, json=_INIT_BODY) |
| 150 | assert missing.status_code == 404 |
| 151 | |
| 152 | |
| 153 | def test_tools_list_over_http(tmp_path): |
nothing calls this directly
no test coverage detected