FINAL COMMIT BEFORE REWRITE

This commit is contained in:
2026-05-26 21:45:11 +02:00
parent 42fa6139ed
commit 745dec39f5
264 changed files with 311 additions and 311 deletions
+3 -3
View File
@@ -2,8 +2,8 @@
from unittest.mock import Mock, patch
from alfred.agent.tools import api as api_tools
from alfred.infrastructure.persistence import get_memory
from alfred.agent.tools_TO_CHECK import api as api_tools
from alfred.infrastructure.persistence_TO_CHECK import get_memory
def create_mock_response(status_code, json_data=None, text=None):
@@ -329,7 +329,7 @@ class TestAddTorrentToQbittorrent:
@patch("alfred.agent.tools.api.qbittorrent_client")
def test_error_handling(self, mock_client, memory):
"""Should handle client errors correctly."""
from alfred.infrastructure.api.qbittorrent.exceptions import QBittorrentAPIError
from alfred.infrastructure.api_TO_CHECK.qbittorrent.exceptions import QBittorrentAPIError
mock_client.add_torrent.side_effect = QBittorrentAPIError("Connection failed")