π The fast, Pythonic way to build MCP servers and clients.
Update test_resource_template.py
Jeremiah Lowinf2c5f0d708e6
diff --git a/tests/resources/test_resource_template.py b/tests/resources/test_resource_template.pyindex 7dba257e4..38b2f45f9 100644--- a/tests/resources/test_resource_template.py+++ b/tests/resources/test_resource_template.py@@ -436,3 +436,10 @@ class TestMatchUriTemplate:uri_template = "test://a/{x*}/{y}"result = match_uri_template(uri=uri, uri_template=uri_template)assert result == {"x": "x/y", "y": "b"}++ def test_match_consecutive_params(self):+ """Test that consecutive parameters without a / are not matched."""+ uri = "test://a/x/y"+ uri_template = "test://a/{x}{y}"+ result = match_uri_template(uri=uri, uri_template=uri_template)+ assert result is None