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",