MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_web_fetch_missing_url

Function test_web_fetch_missing_url

core/src/tools/builtin/web_fetch.rs:215–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213
214 #[tokio::test]
215 async fn test_web_fetch_missing_url() {
216 let tool = WebFetchTool;
217 let ctx = ToolContext::new(std::path::PathBuf::from("/tmp"));
218
219 let result = tool.execute(&serde_json::json!({}), &ctx).await.unwrap();
220 assert!(!result.success);
221 }
222
223 #[test]
224 fn test_web_fetch_schema_is_canonical() {

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected