A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Chore: Isolate the search index directory in trash-restore tests, they were using a persistent index (#13876)
Trenton H06e9c1c02b3c
diff --git a/src/documents/tests/test_api_trash.py b/src/documents/tests/test_api_trash.pyindex 65fb4306a..420b7727d 100644--- a/src/documents/tests/test_api_trash.py+++ b/src/documents/tests/test_api_trash.py@@ -7,9 +7,10 @@ from rest_framework import statusfrom rest_framework.test import APITestCasefrom documents.models import Document+from documents.tests.utils import DirectoriesMixin-class TestTrashAPI(APITestCase):+class TestTrashAPI(DirectoriesMixin, APITestCase):def setUp(self) -> None:super().setUp()diff --git a/src/documents/tests/test_permission_filtering_security.py b/src/documents/tests/test_permission_filtering_security.pyindex 6065d55a1..b169bf0a6 100644--- a/src/documents/tests/test_permission_filtering_security.py+++ b/src/documents/tests/test_permission_filtering_security.py@@ -409,6 +409,7 @@ class TestBulkDownloadPermissionChecksRootDocument:@pytest.mark.django_db[email protected]("_search_index")class TestTrashRestorePermissionBoundary:def test_restore_rejects_document_without_delete_permission(self,