Orchestrata Ultimate › Tests › Reference › agents › test_web_tools
Tests reference — tests/agents/test_web_tools.py
Module of tests/agents, split out because the directory page would be too large.
Prose pending.
tests/agents/test_web_tools.py
source · 22 tests · 388 lines
Dogfood finding F11: governed web-research tools for volks.
Covers: agents.tool_registry
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_web_search_parses_titles_urls_and_snippets |
144 | |
| function | test_web_search_clamps_max_results_to_ten |
161 | |
| function | test_web_search_clamps_max_results_to_at_least_one |
176 | |
| function | test_web_search_zero_results |
191 | |
| function | test_web_search_requires_query |
203 | |
| function | test_web_search_server_down_returns_failure |
209 | |
| function | test_web_search_non_numeric_max_results_falls_back_to_default |
222 | |
| function | test_web_fetch_extracts_text_from_html |
245 | |
| function | test_web_fetch_returns_json_as_is |
257 | |
| function | test_web_fetch_returns_plain_text_as_is |
266 | |
| function | test_web_fetch_rejects_binary_content_type |
275 | |
| function | test_web_fetch_respects_the_size_cap |
286 | |
| function | test_web_fetch_rejects_non_http_scheme |
297 | |
| function | test_web_fetch_rejects_url_with_no_hostname |
303 | |
| function | test_web_fetch_reports_dns_resolution_failure |
309 | |
| function | test_web_fetch_connection_refused_returns_failure |
318 | |
| function | test_web_fetch_requires_url |
332 | |
| function | test_web_fetch_ssrf_guard_refuses_loopback_by_default |
338 | |
| function | test_web_search_and_web_fetch_are_registered_tools |
355 | |
| function | test_every_tool_capable_volk_can_use_web_tools |
361 | |
| function | test_get_agent_tools_exposes_web_tools_for_a_representative_volk |
369 | |
| function | test_web_search_hits_real_duckduckgo |
383 |