|
@@ -105,7 +105,7 @@ def call_mcp_tool(tool_name: str, payload: Dict[str, Any]) -> Any:
|
|
|
def test_mcp_garden_describe_subject():
|
|
def test_mcp_garden_describe_subject():
|
|
|
result = call_mcp_tool(
|
|
result = call_mcp_tool(
|
|
|
"garden_describe_subject",
|
|
"garden_describe_subject",
|
|
|
- {"subject_uri": KEROSENE_ROOT, "limit": 5},
|
|
|
|
|
|
|
+ {"subject_uri": KEROSENE_ROOT, "limit": 1},
|
|
|
)
|
|
)
|
|
|
bindings = result.get("results", {}).get("bindings", [])
|
|
bindings = result.get("results", {}).get("bindings", [])
|
|
|
assert bindings, "garden_describe_subject should return bindings"
|
|
assert bindings, "garden_describe_subject should return bindings"
|
|
@@ -115,7 +115,7 @@ def test_mcp_garden_describe_subject():
|
|
|
def test_mcp_garden_property_usage_statistics():
|
|
def test_mcp_garden_property_usage_statistics():
|
|
|
result = call_mcp_tool(
|
|
result = call_mcp_tool(
|
|
|
"garden_property_usage_statistics",
|
|
"garden_property_usage_statistics",
|
|
|
- {"property_uri": CLONE_OF, "examples_limit": 2},
|
|
|
|
|
|
|
+ {"property_uri": CLONE_OF, "examples_limit": 1},
|
|
|
)
|
|
)
|
|
|
count_bindings = result.get("count", {}).get("results", {}).get("bindings", [])
|
|
count_bindings = result.get("count", {}).get("results", {}).get("bindings", [])
|
|
|
assert count_bindings, "Expected usage count bindings from the garden tool"
|
|
assert count_bindings, "Expected usage count bindings from the garden tool"
|