Test custom headers and timeout are set correctly.
()
| 14 | |
| 15 | |
| 16 | def test_custom_parameters(): |
| 17 | """Test custom headers and timeout are set correctly.""" |
| 18 | headers = {"Authorization": "Bearer token"} |
| 19 | timeout = httpx.Timeout(60.0) |
| 20 | |
| 21 | client = create_mcp_http_client(headers, timeout) |
| 22 | |
| 23 | assert client.headers["Authorization"] == "Bearer token" |
| 24 | assert client.timeout.connect == 60.0 |
nothing calls this directly
no test coverage detected