From fce9e5a6b2b1c6740b64e7ecdf52189b62a4bf22 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 31 Aug 2026 16:46:57 -0700 Subject: [PATCH] Fix the mock --- src/documents/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documents/tests/test_views.py b/src/documents/tests/test_views.py index 2314c4256..faf5690ad 100644 --- a/src/documents/tests/test_views.py +++ b/src/documents/tests/test_views.py @@ -609,7 +609,7 @@ class TestAISuggestions(DirectoriesMixin, TestCase): ), ) - @patch("documents.views.get_ai_document_classification") + @patch("paperless_ai.ai_classifier.get_ai_document_classification") @override_settings( AI_ENABLED=True, LLM_BACKEND="mock_backend",