Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
7e7d69e
1
Parent(s): 4546541
Update test_mcp_config.py
Browse files
tests/utilities/test_mcp_config.py
CHANGED
|
@@ -39,7 +39,7 @@ def test_parse_single_remote_config():
|
|
| 39 |
mcp_config = MCPConfig.from_dict(config)
|
| 40 |
transport = mcp_config.mcpServers["test_server"].to_transport()
|
| 41 |
assert isinstance(transport, StreamableHttpTransport)
|
| 42 |
-
assert transport.url == "http://localhost:8000
|
| 43 |
|
| 44 |
|
| 45 |
def test_parse_remote_config_with_transport():
|
|
@@ -54,7 +54,7 @@ def test_parse_remote_config_with_transport():
|
|
| 54 |
mcp_config = MCPConfig.from_dict(config)
|
| 55 |
transport = mcp_config.mcpServers["test_server"].to_transport()
|
| 56 |
assert isinstance(transport, SSETransport)
|
| 57 |
-
assert transport.url == "http://localhost:8000
|
| 58 |
|
| 59 |
|
| 60 |
def test_parse_remote_config_with_url_inference():
|
|
|
|
| 39 |
mcp_config = MCPConfig.from_dict(config)
|
| 40 |
transport = mcp_config.mcpServers["test_server"].to_transport()
|
| 41 |
assert isinstance(transport, StreamableHttpTransport)
|
| 42 |
+
assert transport.url == "http://localhost:8000"
|
| 43 |
|
| 44 |
|
| 45 |
def test_parse_remote_config_with_transport():
|
|
|
|
| 54 |
mcp_config = MCPConfig.from_dict(config)
|
| 55 |
transport = mcp_config.mcpServers["test_server"].to_transport()
|
| 56 |
assert isinstance(transport, SSETransport)
|
| 57 |
+
assert transport.url == "http://localhost:8000"
|
| 58 |
|
| 59 |
|
| 60 |
def test_parse_remote_config_with_url_inference():
|