From a35bcecdf9dd386e62b07e912c788d0bf20682b4 Mon Sep 17 00:00:00 2001 From: Daulet Amirkhanov Date: Tue, 21 Oct 2025 23:13:40 +0100 Subject: [PATCH] refactor tavily_crawler test --- .../tests/integration/web_url_crawler/test_tavily_crawler.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cognee/tests/integration/web_url_crawler/test_tavily_crawler.py b/cognee/tests/integration/web_url_crawler/test_tavily_crawler.py index 7edb9b8d3..50b409f8f 100644 --- a/cognee/tests/integration/web_url_crawler/test_tavily_crawler.py +++ b/cognee/tests/integration/web_url_crawler/test_tavily_crawler.py @@ -1,14 +1,11 @@ -import os import pytest -from cognee.tasks.web_scraper.config import TavilyConfig from cognee.tasks.web_scraper.utils import fetch_with_tavily @pytest.mark.asyncio async def test_fetch(): url = "https://en.wikipedia.org/wiki/Large_language_model" - tavily_config = TavilyConfig() - results = await fetch_with_tavily(url, tavily_config) + results = await fetch_with_tavily(url) assert len(results) == 1 assert isinstance(results, dict) html = results[url]