test(capabilities): expect export_run in the agent tool manifest

The run-reader set gained export_run (CSV export of a stored run), but this
manifest assertion still expected only read_run/search_run. Add export_run so
the agent-door test reflects the shipped readers.
This commit is contained in:
CREDO23 2026-07-09 20:04:30 +02:00
parent 6b15d610d9
commit bcfc3a5c3a

View file

@ -78,8 +78,14 @@ async def test_registry_becomes_one_tool_per_verb_plus_readers(isolate):
tools = isolate.module.build_capability_tools(workspace_id=7, capabilities=caps)
by_name = {t.name: t for t in tools}
# One tool per verb, plus the two shared run-reader tools.
assert set(by_name) == {"web_scrape", "web_discover", "read_run", "search_run"}
# One tool per verb, plus the shared run-reader tools.
assert set(by_name) == {
"web_scrape",
"web_discover",
"read_run",
"search_run",
"export_run",
}
assert by_name["web_scrape"].description == "web.scrape does a thing."
assert by_name["web_scrape"].args_schema is _EchoInput