A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
use zoneinfo instead of pytz
Oliver Lippertc3b5b47b22ca
diff --git a/src/documents/tests/test_document_model.py b/src/documents/tests/test_document_model.pyindex bea8b6b91..3ff4d3253 100644--- a/src/documents/tests/test_document_model.py+++ b/src/documents/tests/test_document_model.py@@ -1,9 +1,9 @@import shutilimport tempfile+import zoneinfofrom pathlib import Pathfrom unittest import mock-import pytzfrom django.test import override_settingsfrom django.test import TestCasefrom django.utils import timezone@@ -69,7 +69,7 @@ class TestDocument(TestCase):0,0,0,- pytz.timezone("Europe/Berlin"),+ zoneinfo.ZoneInfo("Europe/Berlin"),),)self.assertEqual(doc.get_public_filename(), "2020-12-25 test.pdf")