@@ -337,7 +337,7 @@ def test_grimoires_own_tools_are_left_to_their_responses(tmp_path):
|
||||
with http_sink(by_path={"/api/plugin/moment-tools": b'{"tools":["update_task"]}'}) \
|
||||
as (port, seen):
|
||||
assert _hook(tmp_path, port, tool="mcp__plugin_grimoire_grimoire__update_task") == ""
|
||||
assert [e["_path"] for e in seen] == ["/api/plugin/moment-tools"]
|
||||
assert "/api/plugin/moment" not in [e["_path"] for e in seen]
|
||||
|
||||
|
||||
def test_the_route_reads_every_name_the_hook_sends(tmp_path):
|
||||
|
||||
Reference in New Issue
Block a user