mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-16 21:55:37 -05:00
add tests for mail_to_html and generate_pdf_from_mail
This commit is contained in:
@@ -191,7 +191,7 @@ class MailDocumentParser(DocumentParser):
|
||||
return pdf_path
|
||||
|
||||
@staticmethod
|
||||
def mail_to_html(mail):
|
||||
def mail_to_html(mail) -> StringIO:
|
||||
data = {}
|
||||
|
||||
def clean_html(text: str):
|
||||
|
Reference in New Issue
Block a user