diff --git a/tests/test_lookup_tool.py b/tests/test_lookup_tool.py index f53e73d..1d9833d 100644 --- a/tests/test_lookup_tool.py +++ b/tests/test_lookup_tool.py @@ -34,7 +34,7 @@ async def test_lookup_wikipedia_miss_searxng_fallback(): with patch("fabledassistant.services.wikipedia.wiki_summary", new_callable=AsyncMock, return_value=None), \ patch("fabledassistant.config.Config") as mock_config, \ patch("fabledassistant.services.research._search_searxng", new_callable=AsyncMock, return_value=searxng_results), \ - patch("fabledassistant.services.rss._fetch_full_article", new_callable=AsyncMock, return_value="Full article about QUIC..."): + patch("fabledassistant.services.article_fetcher.fetch_article_text", new_callable=AsyncMock, return_value="Full article about QUIC..."): mock_config.searxng_enabled.return_value = True result = await lookup_tool(user_id=1, arguments={"query": "QUIC"}) @@ -59,7 +59,7 @@ async def test_lookup_parallel_both_sources(): with patch("fabledassistant.services.wikipedia.wiki_summary", new_callable=AsyncMock, return_value=wiki_data), \ patch("fabledassistant.config.Config") as mock_config, \ patch("fabledassistant.services.research._search_searxng", new_callable=AsyncMock, return_value=searxng_results), \ - patch("fabledassistant.services.rss._fetch_full_article", new_callable=AsyncMock, return_value="Current president is..."): + patch("fabledassistant.services.article_fetcher.fetch_article_text", new_callable=AsyncMock, return_value="Current president is..."): mock_config.searxng_enabled.return_value = True result = await lookup_tool(user_id=1, arguments={"query": "president of the united states"})