A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
more testing.
jonaswinkler384d381acf5c
diff --git a/src/documents/tests/test_tasks.py b/src/documents/tests/test_tasks.pyindex d408c1e3d..6d04e58e1 100644--- a/src/documents/tests/test_tasks.py+++ b/src/documents/tests/test_tasks.py@@ -1,6 +1,7 @@from datetime import datetimefrom django.test import TestCase+from django.utils import timezonefrom documents import tasksfrom documents.models import Document@@ -10,12 +11,12 @@ from documents.tests.utils import DirectoriesMixinclass TestTasks(DirectoriesMixin, TestCase):def test_index_reindex(self):- Document.objects.create(title="test", content="my document", checksum="wow", added=datetime.now(), created=datetime.now(), modified=datetime.now())+ Document.objects.create(title="test", content="my document", checksum="wow", added=timezone.now(), created=timezone.now(), modified=timezone.now())tasks.index_reindex()def test_index_optimize(self):- Document.objects.create(title="test", content="my document", checksum="wow", added=datetime.now(), created=datetime.now(), modified=datetime.now())+ Document.objects.create(title="test", content="my document", checksum="wow", added=timezone.now(), created=timezone.now(), modified=timezone.now())tasks.index_optimize()