mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-15 11:58:31 +00:00
Some checks failed
Build uv cache / build-cache (3.10) (push) Has been cancelled
Build uv cache / build-cache (3.11) (push) Has been cancelled
Build uv cache / build-cache (3.12) (push) Has been cancelled
Build uv cache / build-cache (3.13) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Consolidates pytest config, standardizes env handling, reorganizes cassette layout, removes outdated VCR configs, improves sync with threading.Condition, updates event-waiting logic, ensures cleanup, regenerates Gemini cassettes, and reverts unintended test changes.
19 lines
536 B
Python
19 lines
536 B
Python
import pytest
|
|
|
|
from crewai_tools.tools.firecrawl_crawl_website_tool.firecrawl_crawl_website_tool import (
|
|
FirecrawlCrawlWebsiteTool,
|
|
)
|
|
|
|
@pytest.mark.vcr()
|
|
def test_firecrawl_crawl_tool_integration():
|
|
tool = FirecrawlCrawlWebsiteTool(config={
|
|
"limit": 2,
|
|
"max_discovery_depth": 1,
|
|
"scrape_options": {"formats": ["markdown"]}
|
|
})
|
|
result = tool.run(url="https://firecrawl.dev")
|
|
|
|
assert result is not None
|
|
assert hasattr(result, 'status')
|
|
assert result.status in ["completed", "scraping"]
|