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.
16 lines
489 B
Python
16 lines
489 B
Python
import pytest
|
|
|
|
from crewai_tools.tools.firecrawl_scrape_website_tool.firecrawl_scrape_website_tool import (
|
|
FirecrawlScrapeWebsiteTool,
|
|
)
|
|
|
|
@pytest.mark.vcr()
|
|
def test_firecrawl_scrape_tool_integration():
|
|
tool = FirecrawlScrapeWebsiteTool()
|
|
result = tool.run(url="https://firecrawl.dev")
|
|
|
|
assert result is not None
|
|
assert hasattr(result, 'markdown')
|
|
assert len(result.markdown) > 0
|
|
assert "Firecrawl" in result.markdown or "firecrawl" in result.markdown.lower()
|