mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 17:47:08 +01:00
add tests for mail_to_html and generate_pdf_from_mail
This commit is contained in:
parent
567e89d1c7
commit
30372b0e85
3 changed files with 92 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue