mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
fix test case.
This commit is contained in:
parent
d51590fd4e
commit
b70f7ca8f3
@ -350,7 +350,7 @@ class TestConsumer(DirectoriesMixin, TestCase):
|
|||||||
try:
|
try:
|
||||||
self.consumer.try_consume_file(self.get_test_file())
|
self.consumer.try_consume_file(self.get_test_file())
|
||||||
except ConsumerError as e:
|
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
|
return
|
||||||
|
|
||||||
self.fail("Should throw exception")
|
self.fail("Should throw exception")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user