fix(test): update mock path for tool registry refactor

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-12 10:02:34 -04:00
parent ce2d76447c
commit c32c75f77e
+1 -1
View File
@@ -127,7 +127,7 @@ async def test_update_event_fires_caldav_push():
@pytest.mark.asyncio
async def test_tools_calendar_always_available():
"""Calendar tools must appear in get_tools_for_user even without CalDAV."""
with patch("fabledassistant.services.tools.is_caldav_configured", new_callable=AsyncMock) as mock_configured:
with patch("fabledassistant.services.tools._registry.is_caldav_configured", new_callable=AsyncMock) as mock_configured:
mock_configured.return_value = False
from fabledassistant.services.tools import get_tools_for_user
tools = await get_tools_for_user(user_id=1)