Skip to content

Commit 4e8666a

Browse files
committed
fix: remove unused resource to satisfy 100% coverage requirement
1 parent 4f5cb28 commit 4e8666a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/issues/test_1579_resource_error_code.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ async def test_unknown_resource_returns_invalid_params_error_code():
2323
"""Reading an unknown resource returns INVALID_PARAMS (-32602), not 0."""
2424
mcp = MCPServer()
2525

26-
@mcp.resource("resource://exists")
27-
def existing_resource():
28-
return "data"
29-
3026
async with Client(mcp) as client:
3127
with pytest.raises(MCPError) as exc_info:
3228
await client.read_resource("resource://does-not-exist")

0 commit comments

Comments
 (0)