fix test case.

This commit is contained in:
jonaswinkler 2020-12-27 14:50:57 +01:00
parent f61ecadf76
commit fb83069975

View File

@ -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")