We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8ab280 commit 754e364Copy full SHA for 754e364
tests/mcp/test_resources_server.py
@@ -41,5 +41,5 @@ async def test_read_resource_not_found():
41
server = FakeMCPServer()
42
43
uri = AnyUrl("docs://api/reference")
44
- with pytest.raises(ValueError, match=f"Resource {uri} not found"):
+ with pytest.raises(KeyError, match=f"Resource {uri} not found"):
45
await server.read_resource(uri)
0 commit comments