A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
fix test case.
jonaswinklerfb830699752a
diff --git a/src/documents/tests/test_consumer.py b/src/documents/tests/test_consumer.pyindex f53981850..795ca7f95 100644--- a/src/documents/tests/test_consumer.py+++ b/src/documents/tests/test_consumer.py@@ -350,7 +350,7 @@ class TestConsumer(DirectoriesMixin, TestCase):try:self.consumer.try_consume_file(self.get_test_file())except ConsumerError as e:- self.assertTrue("No parsers abvailable for" in str(e))+ self.assertEqual("Unsupported mime type application/pdf of file sample.pdf", str(e))returnself.fail("Should throw exception")