MCPcopy Index your code
hub / github.com/modelcontextprotocol/python-sdk / test_default_settings

Function test_default_settings

tests/shared/test_httpx_utils.py:8–13  ·  view source on GitHub ↗

Test that default settings are applied correctly.

()

Source from the content-addressed store, hash-verified

6
7
8def test_default_settings():
9 """Test that default settings are applied correctly."""
10 client = create_mcp_http_client()
11
12 assert client.follow_redirects is True
13 assert client.timeout.connect == 30.0
14
15
16def test_custom_parameters():

Callers

nothing calls this directly

Calls 1

create_mcp_http_clientFunction · 0.90

Tested by

no test coverage detected