Skip to content

The agent that grows with you

test(web): firecrawl client stub takes the capability argument

Teknium05e8ee35a9e3
diff --git a/tests/plugins/web/test_web_search_provider_plugins.py b/tests/plugins/web/test_web_search_provider_plugins.py
index 113ddc370dd..3c1accf5bd6 100644
--- a/tests/plugins/web/test_web_search_provider_plugins.py
+++ b/tests/plugins/web/test_web_search_provider_plugins.py
@@ -277,7 +277,7 @@ class TestFirecrawlScrapeTimeout:
# Patch _get_firecrawl_client to return our fake client
monkeypatch.setattr(
- firecrawl_provider, "_get_firecrawl_client", lambda: fake_client
+ firecrawl_provider, "_get_firecrawl_client", lambda capability=None: fake_client
)
# Patch check_website_access to allow the URL
monkeypatch.setattr(