Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fix mail tests

Stefan9bb762fc8f76
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