Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fix test case.

jonaswinklerfb830699752a
diff --git a/src/documents/tests/test_consumer.py b/src/documents/tests/test_consumer.py
index 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))
return
self.fail("Should throw exception")