test: adapt salvaged SSRF test to current web_extract_tool signature
Follow-up for salvaged PR #35840: current main removed the use_llm_processing kwarg (LLM summarization dropped) and moved the input SSRF gate to async_is_safe_url. Adjust the new firecrawl-final-url test to match.
This commit is contained in:
parent
2e12401ed4
commit
2475a554d5
1 changed files with 1 additions and 1 deletions
|
|
@ -488,7 +488,7 @@ class TestWebToolPolicy:
|
|||
monkeypatch.setattr("tools.interrupt.is_interrupted", lambda: False)
|
||||
monkeypatch.setenv("FIRECRAWL_API_KEY", "fake-key")
|
||||
|
||||
result = json.loads(await web_tools.web_extract_tool(["https://allowed.test"], use_llm_processing=False))
|
||||
result = json.loads(await web_tools.web_extract_tool(["https://allowed.test"]))
|
||||
|
||||
assert checked_urls == ["https://allowed.test"]
|
||||
assert result["results"][0]["url"] == "http://169.254.169.254/latest/meta-data/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue