From 9bb762fc8f76eb8ac44ee0b39e519e90ae8e9a25 Mon Sep 17 00:00:00 2001 From: Stefan Date: Wed, 17 Aug 2022 11:34:21 +0200 Subject: [PATCH] fix mail tests --- src/paperless_mail/tests/test_mail.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/paperless_mail/tests/test_mail.py b/src/paperless_mail/tests/test_mail.py index 2aaa588d6..0c85013ae 100644 --- a/src/paperless_mail/tests/test_mail.py +++ b/src/paperless_mail/tests/test_mail.py @@ -65,6 +65,7 @@ class BogusMailBox(ContextManager): self.messages_spam: List[MailMessage] = [] self.folder = BogusFolderManager() self.client = BogusClient() + self._host = "" def login(self, username, password): # This will raise a UnicodeEncodeError if the password is not ASCII only