File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -420,7 +420,7 @@ def test_get_required_inputs_empty_inputs_list():
420420 """Test getting required inputs when inputs is explicitly set to an empty list."""
421421 config_data = {
422422 "inputs" : [], # Explicitly empty list
423- "servers" : {"test_server" : {"type" : "stdio" , "command" : "python test.py" }}
423+ "servers" : {"test_server" : {"type" : "stdio" , "command" : "python test.py" }},
424424 }
425425
426426 config = MCPServersConfig .model_validate (config_data )
@@ -773,10 +773,10 @@ def test_sse_type_inference():
773773 "webhook_server" : {
774774 "url" : "https://webhook.example.com/mcp/api" ,
775775 "description" : "A simple SSE server" ,
776- "headers" : {"X-API-Key" : "secret123" }
776+ "headers" : {"X-API-Key" : "secret123" },
777777 # No explicit type - should be inferred as sse
778778 # because "SSE" is in the description
779- }
779+ },
780780 }
781781 }
782782
@@ -808,9 +808,9 @@ def test_streamable_http_type_inference():
808808 },
809809 "webhook_server" : {
810810 "url" : "https://webhook.example.com/mcp/api" ,
811- "headers" : {"X-API-Key" : "secret123" }
811+ "headers" : {"X-API-Key" : "secret123" },
812812 # No explicit type - should be inferred as streamable_http
813- }
813+ },
814814 }
815815 }
816816
You can’t perform that action at this time.
0 commit comments