Fixes a long standing bug in this test where a whole page was missing from the expected
This commit is contained in:
parent
927d0cebe7
commit
3d8e40fa63
@ -215,6 +215,8 @@ class MailDocumentParser(DocumentParser):
|
|||||||
mail_message.attachments,
|
mail_message.attachments,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
self.log.debug("Merging email text and HTML content into single PDF")
|
||||||
|
|
||||||
with GotenbergClient(
|
with GotenbergClient(
|
||||||
host=settings.TIKA_GOTENBERG_ENDPOINT,
|
host=settings.TIKA_GOTENBERG_ENDPOINT,
|
||||||
timeout=settings.CELERY_TASK_TIME_LIMIT,
|
timeout=settings.CELERY_TASK_TIME_LIMIT,
|
||||||
@ -348,7 +350,7 @@ class MailDocumentParser(DocumentParser):
|
|||||||
text = compiled_close.sub("</div", text)
|
text = compiled_close.sub("</div", text)
|
||||||
return text
|
return text
|
||||||
|
|
||||||
self.log.info("Converting html to PDF")
|
self.log.info("Converting message html to PDF")
|
||||||
|
|
||||||
tempdir = Path(self.tempdir)
|
tempdir = Path(self.tempdir)
|
||||||
|
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user