mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 07:38:29 +00:00
* fix: fix Firecrawl Scrape tool * fix: fix Firecrawl Search tool * fix: fix Firecrawl Website tool * tests: adding tests for Firecrawl
13 lines
404 B
Python
13 lines
404 B
Python
import pytest
|
|
|
|
from crewai_tools.tools.firecrawl_search_tool.firecrawl_search_tool import FirecrawlSearchTool
|
|
|
|
|
|
@pytest.mark.vcr(filter_headers=["authorization"])
|
|
def test_firecrawl_search_tool_integration():
|
|
tool = FirecrawlSearchTool()
|
|
result = tool.run(query="firecrawl")
|
|
|
|
assert result is not None
|
|
assert hasattr(result, 'web') or hasattr(result, 'news') or hasattr(result, 'images')
|